Hi Mathias,
This is steps:
1. Create new 3 user defined commands: Command_1, Command_2, Command_3
2. Create new Root "Security" Menu
3. Create new sub menu in "Sub-Security" menu
4. Add 3 commands from step 1 into "Sub-Security" menu as below:
- Security Menu
- Sub-Security Sub-Menu
- Command_1
- Command_2
- Command_3
5. Restart MC to make sure everything work OK with sub menu and added commands
6. Open "User Defined Command" dialog to delete 1 in 3 commands and close dialog:
Example: delete Command_2 and save then close dialog.
7. Click "Security" menu
As observation: Whole "Sub-Security" menu is removed out "Security" menu.
Workaround for this issue: Open file "UserMenu.xml" and delete menu item. Then open "User Defined Command" dialog to delete.