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
API Platform Core version: 2.6.4 API Platform Admin version: 2.6.0
Description
Error message description is not shown if something went wrong while deleting record using dataProvider.
How to reproduce
Delete record using dataProvider.
If error occurs on backend it will try to parse jsonld and issue a request to "/api/context/Error" with method "DELETE". This cause no content to return.
Notification with regular "Bad request" error messages will be shown instead of error description from backend.
Possible Solution
In src/hydra/fetchHydra.js on line 38 replace "DELETE" method with "GET" in authOptions.
The text was updated successfully, but these errors were encountered:
API Platform Core version: 2.6.4
API Platform Admin version: 2.6.0
Description
Error message description is not shown if something went wrong while deleting record using dataProvider.
How to reproduce
Possible Solution
In
src/hydra/fetchHydra.js
on line 38 replace "DELETE" method with "GET" inauthOptions
.The text was updated successfully, but these errors were encountered: