datum
datum copied to clipboard
[Bug] Cascase delete child orgs does not delete it's associated objects
Describe the bug or issue you're encountering
When deleting a parent organization, it was recently fixed that it's child organizations would also be deleted (https://github.com/datumforge/datum/pull/801). However, this fails to delete it's children (e.g. groups, etc)
What are the relevant steps to reproduce, including the version(s) of the relevant software?
- Create an organization, a child organization, and group associated with the child organization
- Delete the parent organization
- Group will be non-deleted
If you instead delete the organization directly associated with the group, it will properly delete the group
What is the expected behavior?
- When a Parent org is deleted, the child organizations are deleted along with their associated objects.