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
{{ message }}
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.
Although we can unmark groups as bands, doing so doesn't delete the Band object. I would like the system to:
Check to see if a group has had its Band object changed or any Band sub-objects added, and warn me before unmarking a group as a band, so I don't accidentally dissociate a group from a 'real' band.
Upon confirmation, delete the Band object and cascade-delete all associated objects, so that the band doesn't show up later in. e.g., exports of all bands.
The text was updated successfully, but these errors were encountered:
Sure, I mean, the goal is really to leave out the data from various reports. Now that I'm thinking through it, that would mean we can even let you 'restore' group's bands by simply setting the band to invalid and not setting group.band_id to None. The group would still have a band in the database, we just wouldn't show the data. That way, admins can change their minds.
I would personally much rather delete than mark invalid UNLESS part of this ticket is to refactor all of the relevant code throughout the plugin to implement utility methods to distinguish between deleted and invalidated records. For example, right now we send out emails to bands, so we'd need to refactor those emails to only be sent out to non-invalidated bands. Admins will see records for all bands, so we'll need to refactor to account for that. Etc.
I'm fine with someone doing all of that work, but until such time as that's done, doing real deletes is far preferable.
Although we can unmark groups as bands, doing so doesn't delete the Band object. I would like the system to:
The text was updated successfully, but these errors were encountered: