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
Normally a returned false in before_save etc will cancel the save call, but this is not the case when doing owner.save and and any embedded records return false on callbacks or save() in general. The embedded proxy just simply ignores it when parent_will_be_saved! is called.
It might be a headache to fix this, as we need to "roll back" the state of every embedded records where save() was successful. Oh well, its an issue, si I'll leave it here for now to be remember :-)
The text was updated successfully, but these errors were encountered:
Normally a returned false in before_save etc will cancel the save call, but this is not the case when doing owner.save and and any embedded records return false on callbacks or save() in general. The embedded proxy just simply ignores it when parent_will_be_saved! is called.
It might be a headache to fix this, as we need to "roll back" the state of every embedded records where save() was successful. Oh well, its an issue, si I'll leave it here for now to be remember :-)
The text was updated successfully, but these errors were encountered: