icingaweb2-module-businessp.../library/Businessprocess/Modification
Sukhwinder Dhillon 96137e0df1
Only root node removal can decrement display of root nodes (#479)
This PR fixes an issue where removing sub-nodes using `Delete all occurrences`
unexpectedly decrements the `display` value of root nodes. This caused the root
node with `display: 1` to become an `Unbound node`.

Nodes with `display: 0` are treated as sub-nodes, and those with `display: 1` or
higher as root nodes. When manual ordering is enabled and a sub-node is removed,
the `display` value of all root nodes was incorrectly decremented by 1. Since
sub-nodes always have `display: 0`, this caused the root node with `display: 1`
to become `0`, effectively turning it into an unbound node.
2026-03-25 12:21:59 +01:00
..
NodeAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeAddChildrenAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeApplyManualOrderAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeCopyAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeCreateAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeModifyAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeMoveAction.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00
NodeRemoveAction.php Only root node removal can decrement display of root nodes (#479) 2026-03-25 12:21:59 +01:00
ProcessChanges.php License source files as GPL-3.0-or-later 2026-03-11 20:44:42 +01:00