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
dkarlovi
changed the title
[Bug]: if passing an invalid asset.fullpath to object mutation GraphQL query, the assets are silently discarded
[Bug][Data loss]: if passing an invalid asset.fullpath to object mutation GraphQL query, the assets are silently discarded
Dec 6, 2023
dkarlovi
changed the title
[Bug][Data loss]: if passing an invalid asset.fullpath to object mutation GraphQL query, the assets are silently discarded
[Bug][Data loss]: if passing an invalid asset.id, fullpath to object mutation GraphQL query, the assets are silently discarded
Dec 6, 2023
It seems this applies to any relation, not just assets, including one to one. If you pass gibberish to it, it ignores it and just stores null, but it should actually validate the proposed changes before saving.
Expected behavior
Error reported before any mutation is done. Same thing happens with unknown IDs, it just ignores them.
Actual behavior
Any unknown assets silently discarded.
Steps to reproduce
Product
with inputSKU
and many to one assets calledImages
The text was updated successfully, but these errors were encountered: