[jira] [Commented] (OFBIZ-9377) fix tag "disable-if-empty" in menus if field has no value

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

[jira] [Commented] (OFBIZ-9377) fix tag "disable-if-empty" in menus if field has no value

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-9377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079354#comment-16079354 ]

Deepak Dixit commented on OFBIZ-9377:
-------------------------------------

Thanks  Gaudin Pierre and Humera Khan for your contribution.

This has been committed at
ofbiz framework trunk at r#1801336
R16.11 at r#1801337



> fix tag "disable-if-empty" in menus if field has no value
> ---------------------------------------------------------
>
>                 Key: OFBIZ-9377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9377
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Gaudin Pierre
>            Assignee: Deepak Dixit
>            Priority: Minor
>         Attachments: menu-disable-if-empty.patch
>
>
> The purpose of this patch is to correct the behavior of the tag "disable-if-empty" in menus. Indeed in certain cases it happens that the value defines in "disable-if-empty" is present in the context but with no valuee. In this case the menu item is shown  while it should be masked. This patch corrects it by testing if emptie and without value.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)