You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/10/29 15:22:00 UTC
[jira] [Closed] (OFBIZ-13767) Menu items inherited through menu extends are renamed, so they can't be overridden or selected
[ https://issues.apache.org/jira/browse/OFBIZ-13767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mridul Pathak closed OFBIZ-13767.
---------------------------------
Fix Version/s: Upcoming Branch
24.09.09
Resolution: Fixed
> Menu items inherited through menu extends are renamed, so they can't be overridden or selected
> ----------------------------------------------------------------------------------------------
>
> Key: OFBIZ-13767
> URL: https://issues.apache.org/jira/browse/OFBIZ-13767
> Project: OFBiz
> Issue Type: Bug
> Components: framework/widget
> Affects Versions: Upcoming Branch, 24.09.08
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Major
> Fix For: Upcoming Branch, 24.09.09
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Since OFBIZ-12628, when a menu extends another one, each inherited menu item is copied with the child menu's name prefixed to the item name. A menu-item of the same name in the child menu is then added next to the inherited one instead of overriding it, and an inherited item never matches the selected item name, so it is never rendered as selected. For example, the "main" item of CommonAppBarMenu is never highlighted in the application bars that extend it, and SetupAppBar shows both the inherited main item and its own.
> h3. Proposed fix
> Keep the original item name when copying an inherited menu item. The copy still points to the child menu, which is what OFBIZ-12628 needed.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)