You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/12/28 19:58:50 UTC

[jira] [Closed] (OFBIZ-5451) NPE thrown out while rendering disabled menu item

     [ https://issues.apache.org/jira/browse/OFBIZ-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-5451.
----------------------------------

    Resolution: Fixed

Leon,

You patch fixes r1517353 and this commits at r1553887 also reverts r1537833, all is correct now, thanks!




> NPE thrown out while rendering disabled menu item
> -------------------------------------------------
>
>                 Key: OFBIZ-5451
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5451
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-5451.patch
>
>
> The method "renderLink"  of new class MacroMenuRenderer calls the WidgetWorker.determineAutoLinkType. When menuItem.getDisabled() is true, the link target will be set to null and NPE occurs.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)