FAQ
I started with a fresh app with spree 2.0.0 installed, including the
seed(test/ example) data. I created 2 stock locations. I clicked on Stock
movements link on one of the stock locations(for example: "NY LOC - 1").
Now, for product: Ruby on Rails Tote, I created couple of stock movements
with different count_on_hand. When I try to edit count on hand of one of
these stock movements I get error saying:

ActiveRecord::ReadOnlyRecord in
Spree::Admin::StockMovementsController#update

ActiveRecord::ReadOnlyRecord

Here is the full trace:
https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace

Any clue?

<https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace>
--


Please consider the environment before printing this email.

Regards,
Surya

Search Discussions

  • Washington L Braga Jr at Jun 27, 2013 at 3:41 pm
    Hi there! Try upgrading to Spree 2.0.3, that should fix the issue.
    On 27-06-2013 09:25, Surya wrote:
    I started with a fresh app with spree 2.0.0 installed, including the
    seed(test/ example) data. I created 2 stock locations. I clicked on
    Stock movements link on one of the stock locations(for example: "NY
    LOC - 1"). Now, for product: Ruby on Rails Tote, I created couple of
    stock movements with different count_on_hand. When I try to edit count
    on hand of one of these stock movements I get error saying:


    ActiveRecord::ReadOnlyRecord in
    Spree::Admin::StockMovementsController#update

    ActiveRecord::ReadOnlyRecord
    Here is the full trace:
    https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace

    Any clue?

    <https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace>
    --

    Please consider the environment before printing this email.

    Regards,
    Surya
    --
    Washington L Braga Jr
    Developer
    Spree Commerce, Inc.
  • Ryan Bigg at Jun 28, 2013 at 6:31 am
    Hi Surya,

    Please file a new issue on https://github.com/spree/spree/issues with steps
    to reproduce and the information requested in the Contributing Guidelines:
    https://github.com/spree/spree/blob/master/CONTRIBUTING.md. Thank you!

    On Fri, Jun 28, 2013 at 4:06 PM, Surya wrote:

    I did. It's not working either.


    On Thu, Jun 27, 2013 at 9:11 PM, Washington L Braga Jr <
    washington@spreecommerce.com> wrote:
    Hi there! Try upgrading to Spree 2.0.3, that should fix the issue.


    On 27-06-2013 09:25, Surya wrote:

    I started with a fresh app with spree 2.0.0 installed, including the
    seed(test/ example) data. I created 2 stock locations. I clicked on Stock
    movements link on one of the stock locations(for example: "NY LOC - 1").
    Now, for product: Ruby on Rails Tote, I created couple of stock
    movements with different count_on_hand. When I try to edit count on hand of
    one of these stock movements I get error saying:

    ActiveRecord::ReadOnlyRecord in
    Spree::Admin::StockMovementsController#update

    ActiveRecord::ReadOnlyRecord

    Here is the full trace:
    https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace

    Any clue?

    <https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace>
    --


    Please consider the environment before printing this email.

    Regards,
    Surya


    --
    Washington L Braga Jr
    Developer
    Spree Commerce, Inc.

    --

    Please consider the environment before printing this email.

    Regards,
    Surya


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.
  • Surya at Jun 28, 2013 at 7:23 am
    Sure thing. Done: https://github.com/spree/spree/issues/3280

    On Fri, Jun 28, 2013 at 12:01 PM, Ryan Bigg wrote:

    Hi Surya,

    Please file a new issue on https://github.com/spree/spree/issues with
    steps to reproduce and the information requested in the Contributing
    Guidelines: https://github.com/spree/spree/blob/master/CONTRIBUTING.md.
    Thank you!

    On Fri, Jun 28, 2013 at 4:06 PM, Surya wrote:

    I did. It's not working either.


    On Thu, Jun 27, 2013 at 9:11 PM, Washington L Braga Jr <
    washington@spreecommerce.com> wrote:
    Hi there! Try upgrading to Spree 2.0.3, that should fix the issue.


    On 27-06-2013 09:25, Surya wrote:

    I started with a fresh app with spree 2.0.0 installed, including the
    seed(test/ example) data. I created 2 stock locations. I clicked on Stock
    movements link on one of the stock locations(for example: "NY LOC - 1").
    Now, for product: Ruby on Rails Tote, I created couple of stock
    movements with different count_on_hand. When I try to edit count on hand of
    one of these stock movements I get error saying:

    ActiveRecord::ReadOnlyRecord in
    Spree::Admin::StockMovementsController#update

    ActiveRecord::ReadOnlyRecord

    Here is the full trace:
    https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace

    Any clue?

    <https://gist.github.com/suryart/5876015#file-spree-stock-movements-error-trace>
    --


    Please consider the environment before printing this email.

    Regards,
    Surya


    --
    Washington L Braga Jr
    Developer
    Spree Commerce, Inc.

    --

    Please consider the environment before printing this email.

    Regards,
    Surya


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.


    --

    Please consider the environment before printing this email.

    Regards,
    Surya

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedJun 27, '13 at 12:25p
activeJun 28, '13 at 7:23a
posts4
users3
websitespreecommerce.com
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase