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
After creating a distribution which decreases the inventory for an item, attempts to update donations which have that item fail with "Error updating donation: Requested items exceed the available inventory", even if the quantity for that item remains the same or increases.
Expected Behavior
It should let you update the donation if the quantity for that item remains the same or increases.
Steps To Reproduce
bin/setup followed by bin/start
In browser, create a distribution at a storage location which decreases the inventory for an item
In browser, attempt to update a donation which contains that item at that storage location
Hey @jimmyli97 If this is what I think it is, it's taken care of by our recent inventory-related changes which are in beta at the moment. If you enable the flipper flag 'read_events", it should take care of it.
Hey @jimmyli97 If this is what I think it is, it's taken care of by our recent inventory-related changes which are in beta at the moment. If you enable the flipper flag 'read_events", it should take care of it.
@cielf yes that fixed it. to turn on that flag I've been adding the flag in seeds.rb, is there another way? I could make a commit to add that and close this issue.
We're keeping the seed to be what the majority of banks have for ease of support. The way you enable the flag to go to localhost:3000/flipper, userid admin, password password, click on "Add feature", add read_events, click "add_feature", click "fully enable".
Is there an existing issue for this?
Current Behavior
Related to #4172
After creating a distribution which decreases the inventory for an item, attempts to update donations which have that item fail with "Error updating donation: Requested items exceed the available inventory", even if the quantity for that item remains the same or increases.
Expected Behavior
It should let you update the donation if the quantity for that item remains the same or increases.
Steps To Reproduce
bin/setup
followed bybin/start
Environment
main commit 524eaa
Criteria for Completion
[] fix
[] write tests
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: