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
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.
API Platform version(s) affected: 3.2.16
Description
Entities with
ORM\ManyToOne(fetch: 'EAGER')
nullable relation can be setted during aPUT
orPATCH
with an IRI, but cannot be nulled.If I remove
fetch: 'EAGER'
, I can set relation tonull
.How to reproduce
With EAGER fetch
When I inspect request in Symfony Profiler: previous_data contains an
image
butdata
too !Without EAGER fetch
When I inspect request in Symfony Profiler: previous_data contains an
image
thendata
hasnull
imageThe text was updated successfully, but these errors were encountered: