You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Gaudin Pierre (JIRA)" <ji...@apache.org> on 2017/05/22 15:53:04 UTC
[jira] [Created] (OFBIZ-9377) fix tag "disable-if-empty" in menus
if field has no value
Gaudin Pierre created OFBIZ-9377:
------------------------------------
Summary: 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
Priority: Minor
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.3.15#6346)