-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix behaviour with errors on Distribution #4613
Comments
I would like to take it |
Please do! |
Hey, I would like suggestions from a developer on this.
This is the function where we can handle multiple errors of Inventory Error if raised if something regarding quantity goes wrong
this is where the raise error is caught. As per the issues I thought of collecting all the error through a rescue block the combining the messages and throwing standard Error. But doing that so may bring more error as few of the events are utilizing the attributes of Inventory Error to validate and raise the error. This may take more changes or bring out more issues. May be I am over thinking can anyone suggest if It can be dont in a more easy way. Thank You @cielf @ |
I think rescuing those errors per event in |
This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned. |
Automatically unassigned after 7 days of inactivity. |
Summary
If you have an error (too many of an item) on saving a new distribution, the number of items in inventory for each item is disappearing, and only one error is showing even if you have multiple overages. Fix it!
Why?
Speed up process of dealing with errors. Give enough information for banks to fix all the errors in one go.
Details
To recreate this issue:
sign in as [email protected]
Requests
View a request
Click Fulfill
enter a distribution that has two items that have a quantity that is more than is in the inventory for your chosen storage location.
Save.
You should see errors for both items (you'lll only see one)
The number in brackets after the item (which is the inventory level for that item/storage location) has disappeared -- it should still be there.
Criteria for completion
The text was updated successfully, but these errors were encountered: