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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Olivier Heintz updated OFBIZ-5451:
----------------------------------

    Attachment: OFBIZ-5451.patch

my last typo correction was'nt complete.


> 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, 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)