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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-6712:
----------------------------------------

I see no reasons why we would not use EntityUtilProperties for the moment and deprecate it when a better alternative will be implemented. It's not different from deprecating UtilProperties  in favour of a classloader alternative, but it allow tenants to handle their own properties in the meantime, see?

> 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)