-
-
Notifications
You must be signed in to change notification settings - Fork 933
Closed
Description
API Platform version(s) affected: 2.6.0
Description
After updating to 2.6.0 an error is thrown in data persisters reyling on a specific context property (e.g. item_operation_name) in the supports method. As far as I found out the problem is this code changed which removed the context from the call.
126e65d#diff-fb58705f849532eea1e1b279162e440a919f1ff6cb8509209d3f78dd0c6c65d9R76
How to reproduce
Have a dataPersister supports method check for the item_operation_name without checking first if item_operation_name is set
Possible Solution
Add the context back to the supports call.
Workaround: Always test wether the used array values are actually set
maks-rafalko, cgrabenstein and trippinCode
Metadata
Metadata
Assignees
Labels
No labels