Open yhabteab opened 1 year ago
Trying to reorder the children that also contain a subprocess results to this error:
This error occurs when the ID of the newly added subprocess is an int (step 4 above).
NodeMoveAction::applyTo() uses array_merge(), which reset array key if $name is int.
NodeMoveAction::applyTo()
https://github.com/Icinga/icingaweb2-module-businessprocess/blob/master/library/Businessprocess/Modification/NodeMoveAction.php#L171-L175
Describe the bug
Trying to reorder the children that also contain a subprocess results to this error: