You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is returned when creating a new product (on 1-1-stable):
SQLite3::SQLException: no such column: Infinity: UPDATE "spree_products" SET "count_on_hand" = Infinity WHERE "spree_products"."id" = 222
I've been working on a solution but it is trickier than I thought. It is not capturing it as a new_record? in the on_hand method in the variant model so a simple conditional can't solve it.
For now, the only way around it is to comment out after_save :recalculate_product_on_hand, :if => :is_master?.
The text was updated successfully, but these errors were encountered:
This is in reference to @a6a1f94
The following is returned when creating a new product (on 1-1-stable):
I've been working on a solution but it is trickier than I thought. It is not capturing it as a new_record? in the on_hand method in the variant model so a simple conditional can't solve it.
For now, the only way around it is to comment out
after_save :recalculate_product_on_hand, :if => :is_master?
.The text was updated successfully, but these errors were encountered: