Skip to content
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 the issue where only one error is displayed, even when multiple errors are present. #4911

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nozomirin
Copy link
Contributor

@nozomirin nozomirin commented Jan 3, 2025

Resolves #4613

Description

  1. Add InventoryActionError
  2. Let InventoryError aggregate InventoryActionErrors

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

bundle exec rspec spec/events/inventory_aggregate_spec.rb

Screenshots

@nozomirin nozomirin force-pushed the 4613-fix-multiple-errors-but-only-show-one-on-distribution branch 4 times, most recently from cc3e80c to e7d563d Compare January 3, 2025 15:38
@nozomirin nozomirin force-pushed the 4613-fix-multiple-errors-but-only-show-one-on-distribution branch from e7d563d to 6f80c97 Compare January 3, 2025 15:47
Copy link
Collaborator

@cielf cielf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @nozomrin -- Thanks for this!

The multiple errors part works well, but you've missed this part of the issue: "The number in brackets after the item (which is the inventory level for that item/storage location) has disappeared -- it should still be there."

Please address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix behaviour with errors on Distribution
2 participants