You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pranay Pandey (JIRA)" <ji...@apache.org> on 2015/01/16 11:21:34 UTC
[jira] [Assigned] (OFBIZ-5867) Menu-item with conditon
'disabled-style="disabled" ' doesn't work as presumed
[ https://issues.apache.org/jira/browse/OFBIZ-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pranay Pandey reassigned OFBIZ-5867:
------------------------------------
Assignee: Pranay Pandey
> 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)