"Are you sure?" before delete business process itself
xeiss opened this issue · 3 comments
xeiss commented
Describe the bug
You can easy miss click in the config of a business process and delete it with one click.
To Reproduce
- Create a new Business Process
- Store it
- Click on Config
- Miss click on Delete
- Image this was a business process with many nodes inside and you have no backup, because you created it some minutes before
Expected behavior
"Are you sure?" Question before deleting a whole business process, as it is already implemented when I want to delete a Host/Service/Process Node
Your Environment
- Icinga Web 2 version and modules (System - About): 2.12.1
- Web browser used: Firefox
- Icinga 2 version used (
icinga2 --version
): r2.14.0-1 - PHP version used (
php --version
): 8.0 - Server operating system and version: Debian 11
nilmerg commented
You have to store your change first. Should be enough time to notice the mishap. But in a sense I can comprehend why you want this. Though personally, I'd want this only for processes, not nodes.
xeiss commented
I think you misunderstood. I don't mean a processes or a nodes delete, the are fine.
But you can delete the complete "business process" on top level with a single click in config, there is no store your changes after this.
nilmerg commented
Ooooh, yeah, that makes even more sense!