icingaweb2-module-director
icingaweb2-module-director copied to clipboard
Changing the basket definition removes all other custom objects
trafficstars
Expected Behavior
Editing the basket after objects where added should not reset the basket.
Current Behavior
If you try to change the baskets definition it will be overwritten
Possible Solution
If the object already exists in the database, update the structure, but keep other objects in.
Steps to Reproduce (for bugs)
- create a basket with
Custom Selectioncommand - add a command to the basket
- change basket definition to also include Command Template
- Notice that the command previously added was removed from the basket.
Your Environment
- Director version (System - About): 1.11.0
- Icinga Web 2 version and modules (System - About): 2.10.5
- Icinga 2 version (
icinga2 --version): r2.14.0-1 - Operating System and version: rhel 8.9
- Webserver, PHP versions: 7.4.33