Icinga/icingaweb2-module-businessprocess

"Are you sure?" before delete business process itself

xeiss opened this issue · 3 comments

Describe the bug

You can easy miss click in the config of a business process and delete it with one click.

To Reproduce

  1. Create a new Business Process
  2. Store it
  3. Click on Config
  4. Miss click on Delete
  5. 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

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.

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.

Ooooh, yeah, that makes even more sense!