You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Divesh Dutta (JIRA)" <ji...@apache.org> on 2016/11/05 14:41:58 UTC

[jira] [Closed] (OFBIZ-8445) OFBIZ-7520: Consistency and Readability improvements for if-compare tag

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

Divesh Dutta closed OFBIZ-8445.
-------------------------------

> OFBIZ-7520: Consistency and Readability improvements for if-compare tag
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-8445
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8445
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Devanshu Vyas
>            Assignee: Divesh Dutta
>            Priority: Minor
>         Attachments: OFBIZ-8445.patch
>
>
> Code written in Minilang for the if-compare tag is not consistent throughout the application. The correct pattern to write is
> <if-compare field="containsEmptyFields" operator="equals" value="true"/>
> I found various other ways in which this tag is written, like
> <if-compare operator="equals" field="hasPermission" value="true" type="Boolean">
> <if-compare value="true" field="isDisbursement" operator="equals" type="Boolean">



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