When a DataObject is deleted does it take care of removing any entries in a $many_many table or do I have to write my own functions in onBeforeDelete to take care of clean up?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
You'll have to perform your own cleanup at this point. I believe we have a ticket in our open source tracker to make this automatic.
For now, write your own code to remove the relationships and any related objects if necessary.
Thanks,
Sean
Any update on this?