spree-product-assembly
spree-product-assembly copied to clipboard
Availability validated for wrong quantity
The AvailabilityValidator seems to be validating for the entire quantity of the line_item instead of the quantity being added to the line_item (as spree's does). The AvailabilityValidator needs to be changed to validate only the availability of additional parts needed to fulfill changes to the line_item's quantity.
I've submitted pull request #106 with proposed code changes.