[jira] [Updated] (OFBIZ-5867) Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed

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

[jira] [Updated] (OFBIZ-5867) Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed

Nicolas Malin (Jira)

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

Pranay Pandey updated OFBIZ-5867:
---------------------------------
    Description:
When menu-items have the following condition:
{code}
<condition disabled-style="disabled">
     <and>
          <not><if-empty field="quote"/></not>
          <if-compare operator="equals" value="QUO_APPROVED" field="quote.statusId"/>
      </and>
</condition>
{code}

it is expected that the menu item is disabled when the condition (set) is met. However, it is the opposite. The menu-item is disabled when the condition is not met.

  was:
When menu-items have the following condition:
{code}
<condition disabled-style="disabled">
                <and>
                    <not><if-empty field="quote"/></not>
                    <if-compare operator="equals" value="QUO_APPROVED" field="quote.statusId"/>
                </and>
            </condition>
{code}

it is expected that the menu item is disabled when the condition (set) is met. However, it is the opposite. The menu-item is disabled when the condition is not met.


> Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed
> -----------------------------------------------------------------------------
>
>                 Key: OFBIZ-5867
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5867
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>            Reporter: Pierre Smits
>            Assignee: Pranay Pandey
>
> When menu-items have the following condition:
> {code}
> <condition disabled-style="disabled">
>      <and>
>           <not><if-empty field="quote"/></not>
>           <if-compare operator="equals" value="QUO_APPROVED" field="quote.statusId"/>
>       </and>
> </condition>
> {code}
> it is expected that the menu item is disabled when the condition (set) is met. However, it is the opposite. The menu-item is disabled when the condition is not met.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)