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 error on invalid submission #1015

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Conversation

AW0005
Copy link
Contributor

@AW0005 AW0005 commented Aug 10, 2024

If you submit a claim and check and item where the items quantity is being held in another submission (therefore creating an invalid quantity), you'd hit the error on the quantity and then return redirect()->back()->withInput();, and with Input would include an empty quantity value causing this line to 500 error instead of appropriately redirecting with the error banner.

@itinerare itinerare added bug Something isn't working needs review Pull requests that are pending community review labels Aug 10, 2024
@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Aug 13, 2024
@itinerare itinerare merged commit ad8bfb4 into corowne:release/v3.0.0 Aug 13, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants