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

[jira] [Updated] (OFBIZ-8741) OFBIZ-7520: Consistency and Readability improvements for fail-property tag.

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

Anuj Jain updated OFBIZ-8741:
-----------------------------
    Description: 
Code written in Minilang for the fail-property tag is not consistent throughout the application. The correct pattern to write is
<fail-property resource="CatalogErrorUiLabels" property="InvalidEmailAddress"/>
The wrong way in which this tag is written is
<fail-property property="InvalidEmailAddress" resource="CatalogErrorUiLabels"/>

  was:

Code written in Minilang for the if-compare tag is not consistent throughout the application. The correct pattern to write is
<fail-property resource="CatalogErrorUiLabels" property="InvalidEmailAddress"/>
The wrong way in which this tag is written is
<fail-property property="InvalidEmailAddress" resource="CatalogErrorUiLabels"/>


> OFBIZ-7520: Consistency and Readability improvements for fail-property tag.
> ---------------------------------------------------------------------------
>
>                 Key: OFBIZ-8741
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8741
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>            Reporter: Anuj Jain
>
> Code written in Minilang for the fail-property tag is not consistent throughout the application. The correct pattern to write is
> <fail-property resource="CatalogErrorUiLabels" property="InvalidEmailAddress"/>
> The wrong way in which this tag is written is
> <fail-property property="InvalidEmailAddress" resource="CatalogErrorUiLabels"/>



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