- Issue created by @alecsmrekar
- @alecsmrekar opened merge request.
- 🇷🇴Romania amateescu
We decided to handle the root cause of this problem in WSE: 🐛 Deleting a workspace may lead to live data deletion Active
Custom menu links are stored in 2 primary places: the main entity tables and also in the 'menu_tree' DB table. The latter is ignored by trash currently, and this is causing problems. For example, when soft-deleting a menu link, and then trying to read the link in an 'ignore' context, exceptions are thrown because MenuTreeStorage
doesn't find the link in the menu_tree table.
ddev drush si standard -y && ddev drush en -y trash wse_menu && ddev drush uli
/admin/config/content/trash
and enable trash for menu links/admin/structure/menu/manage/main
/test
/admin/config/workflow/workspaces
/test
Trash should handle MenuTreeStorage operations.
Open a PR
Needs work
3.0
Code
We decided to handle the root cause of this problem in WSE: 🐛 Deleting a workspace may lead to live data deletion Active