smui
smui copied to clipboard
Deletion of rule collection without rules, but existing event history
A rule collection can be deleted (admin screen), if no rules (inputs) are maintained for it. Anyway, if that collection has a history of (deleted) events assigned to it, those events will not get deleted, and stay in the database.
There are different options to deal with this:
- Do not allow the deletion of a rule collections, if history events are associated with it.
- Reconfirm deletion of a rule collection, if history events are associated with it, e.g. "There exist a history for the rule collection. Do you really want to delete it? [Yes] [No]"
- Just delete the history without further communication.
I am curious for your thoughts on this.
Hi @pbartusch, why should it even matter, if there's any history event associated with it? How I understand it: with any creation, edition etc. of a rule, a history event is created. If this is correct, you would have a history for every collection, that ever held even a single rule.