-
-
Notifications
You must be signed in to change notification settings - Fork 874
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
3.1.11 - PUT does not work with ManyToMany deep nested relations #5587
Comments
what because of ed4bca9 ? or use |
To be honest, it's challenging for me to pinpoint the exact cause. I retried with For info, in my case : I do need partial updates ("standard_put" === "legacy PUT"). |
@soyuka Now if I retry my tests but reverting back this line in
Then this is fine in 3.1.11 too |
I tried to reproduce your issue without success, may you provide a reproducer? |
@soyuka
I've added data dumps in
And it seems the parent id is used instead of the nested id. |
Thanks @mdieudonne I'll check we need to |
@soyuka I'd be glad to help and contribute, if you can drive me a bit on what needs to be done :) |
#5604 lmk if that works |
API Platform version(s) affected:
3.1.11
Description
PATCH
does not work with ManyToMany deep nested relations.But now neither does PUT
standard_put: true
in3.1.11
Possible Solution
Revert latest changes made in
ItemNormalizer.php
The text was updated successfully, but these errors were encountered: