Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu items are left orphaned when a linked entity is removed #10633

Open
jonasraoni opened this issue Nov 25, 2024 · 0 comments
Open

Menu items are left orphaned when a linked entity is removed #10633

jonasraoni opened this issue Nov 25, 2024 · 0 comments
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.

Comments

@jonasraoni
Copy link
Contributor

Describe the bug
This issue is an extension of #10511.

When removing an entity that's linked to a menu item, the menu item is left orphaned.

Note: Such orphan menu item is currently hidden, together with its children menu items.

Related issue: #10095

Possible solutions (sorted by my personal preference):
A. Clear the relationship and turn such items into a placeholder (e.g. a menu which just holds text).
B. Remove the menu item. If it's a parent, its children can be brought one level up.
C. Clear the relationship and keep the current behavior (hide the menu and its children)
D. Delete the menu and its children.
E. Block the removal of the related entity until there's nothing linking to it.

To Reproduce

  1. Create a menu item which is linked to an entity (e.g. category).
  2. Remove the referenced entity.
  3. See the menu is kept.

What application are you using?
3.3

@jonasraoni jonasraoni added the Bug:1:Low A bug that does not have a severe consequence or affects a small number of users. label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug:1:Low A bug that does not have a severe consequence or affects a small number of users.
Projects
None yet
Development

No branches or pull requests

1 participant