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
Right now we can have a Spree::Variant instance that is not consistent since the price cannot be created without a product associated with the variant.
Describe the bug
Right now we can have a
Spree::Variant
instance that is not consistent since the price cannot be created without a product associated with the variant.When [set_price]
(
solidus/core/app/models/spree/variant.rb
Line 75 in 8c8986a
Solidus Version:
master
To Reproduce
Steps to reproduce the behavior:
master
Expected behavior
It should not raise an exception and an error should be added to the object instead.
The text was updated successfully, but these errors were encountered: