artist one-to-many with artworks one-to-many with images
images collection contains file field
Everything is in Screenrecording using directus demo
message: "Failed generating the SQL query."
query: "INSERT INTO `directus_users` (`id`, `external_id`) VALUES (NULL, '6dd89760-7169-486d-9dab-431827fd384e')"
It should save successfully
@rijkvanzanten - I think this is the time when we should pass only updated fields as a payload in O2M and M2M.
Here, created_by is also passing along with the file id for updation and that's the cause of this issue.
What happened there, I'm pretty sure we fixed the O2M diffing already 馃 Maybe that wasn't released yet?
I'm pretty sure we fixed the O2M diffing already
Maybe. As right now it is passing whole object instead of updated data.
Closing this as we should ass only updated fields as a payload in O2M and M2M which is duplicate of https://github.com/directus/app/issues/2042
Ok they related thanks @bjgajjar
Most helpful comment
@rijkvanzanten - I think this is the time when we should pass only updated fields as a payload in O2M and M2M.
Here,
created_byis also passing along with thefileid for updation and that's the cause of this issue.