- Issue created by @amateescu
- Status changed to Fixed
7 months ago 4:20pm 18 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.
Followup for the wse_menu
rewrite from
🐛
WSE Menu can't handle large menu trees
Fixed
, we need to ensure that menu items are re-parented correctly in these situations:
1. When rebuilding the workspace tree
In order for the rebuild to be correct, we need to ensure that parent menu links are always saved first, otherwise their children would be assigned as menu roots
2. When publishing the workspace
In order to ensure that we have the proper parenting, all menu link definitions can be re-saved in Live. This works because all the definitions are already in the Live menu_tree
table, and re-saving them assigns the correct parents.
3. When reverting the workspace
In order to ensure that the Live menu_tree
is correct after a workspace is reverted, we need to:
- update the Live menu_tree
definitions for menu items that were only changed in the (reverted) workspace
- delete the Live menu_tree
definitions for menu items that were initially created in that workspace
Fixed
2.0
Workspace Menu
Automatically closed - issue fixed for 2 weeks with no activity.