InfoCommons / cic

Apache License 2.0
0 stars 0 forks source link

Admin UI should not propagate deletes #104

Open ryscher opened 2 years ago

ryscher commented 2 years ago

There is too great a chance of someone deleting a funder object, and accidentally deleting everything associated with that funder.

ryscher commented 1 year ago

Test the current behavior

ryscher commented 1 year ago

It appears that funders are the only model where this is an issue. For any other objects, the deletes do not propagate.

ryscher commented 1 year ago

Other models have this problem as well. We should remove the cascade setting from all objects.

sg3847 commented 1 year ago

This is done and deployed to production. Cascading has been removed on all models, and the value of referred object will now be NULL upon delete.