Skip to content
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

When I updated the master record, the child record on all related tables is soft deleted. #157

Open
moysoft opened this issue May 27, 2020 · 1 comment

Comments

@moysoft
Copy link

moysoft commented May 27, 2020

It's a strange behavior or bug? When I updated the master record, all the related records automatically soft deleted.

@drew1two
Copy link
Contributor

drew1two commented Mar 2, 2021

This does happen when the children aren't presented on update. ie:- if we've removed the childrens form from the frontend.
loadAll and saveAll expect the children to be present, and if they're not... they'll be soft-deleted.

Hope this helps others ... as it had me going for a few hours :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants