[jira] [Created] (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] [Created] (OFBIZ-5867) Menu-item with conditon 'disabled-style="disabled" ' doesn't work as presumed

Nicolas Malin (Jira)
Pierre Smits created OFBIZ-5867:
-----------------------------------

             Summary: 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: Trunk, Release Branch 13.07, Release Branch 12.04
            Reporter: Pierre Smits


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)