-
-
Notifications
You must be signed in to change notification settings - Fork 887
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
4.0 breaks error handling compatibility #6729
Comments
Mhh you never reach this line right?
Is your endpoint an API Resource? Another lead would be that this patch 7399fcf changes something in your case but I need to know if you reach the previous mentioned line first. |
It does trigger that line. Inside, exception is rethrown as BadRequestHttpException, but that one doesn't seem to be handled further. And that endpoint is not an API resource. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I tried to reproduce at 1096084 but I successfully got a 400. To run the test:
Did I forgot something? |
API Platform version(s) affected: 4.x
Description
I can't seem to make our error handling integration tests pass on api-platform 4.x
How to reproduce
Here are the relevant parts of the configuration used in api-platform/core:3.*:
Test:
api-platform/core: 3.x:
api-platform/core: 4.x: (click to enlarge)
Possible Solution
Additional Context
The text was updated successfully, but these errors were encountered: