You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2015/11/05 16:52:27 UTC

[jira] [Commented] (OFBIZ-6712) Increase the number of EntityUtilProperties methods which really use getSystemPropertyValue()

    [ https://issues.apache.org/jira/browse/OFBIZ-6712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991860#comment-14991860 ] 

Adrian Crum commented on OFBIZ-6712:
------------------------------------

NO NO NO!!! You cannot replace UtilProperties  with EntityUtilProperties! That would create a dependency on the entity engine. This has been discussed before in another issue.

EntityUtilProperties is an awful implementation that needs to go away.


> Increase the number of EntityUtilProperties methods which really use getSystemPropertyValue()
> ---------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6712
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6712
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> Currently a number of EntityUtilProperties methods, notably  getPropertyNumber, getPropertyAsBoolean/Integer/Long/Float/Double/BigInteger/BigDecimal, propertyValueEquals (but not propertyValueEqualsIgnoreCase), etc. don't rely on getSystemPropertyValue
> Note that getProperties methods are already covered by OFBIZ-6675
> If that would be done we could deprecate and ultimately replace UtilProperties by EntityUtilProperties



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