You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2014/01/06 20:30:54 UTC

[jira] [Comment Edited] (OFBIZ-5458) getSystemPropertyValue is never called/used

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

Pierre Smits edited comment on OFBIZ-5458 at 1/6/14 7:29 PM:
-------------------------------------------------------------

After further analysis I found that in EntityUtilProperties.xml there is a function called getPropertyValue that first tries to retrieve the value of the property from getSystemPropertyValue in the same file, and if it fails it will call on UtilProperties.getPropertyValue to retrieve the value from the .properties file.

This would mean that every reference in other files to UtilProperties.getPropertyValue should change to EntityUtilProperties.getPropertyValue.


was (Author: pfm.smits):
After further analysis I found that in EntityUtilProperties.xml there is a function called getPropertyValue that first tries to retrieve the value of the property from getSystemPropertyValue in the same file, and if it fails it will call on UtilProperties.getPropertyValue to retrieve the value from the .properties file.

This would mean that changing every reference in other files to UtilProperties.getPropertyValue should change to EntityUtilProperties.getPropertyValue.

> getSystemPropertyValue is never called/used
> -------------------------------------------
>
>                 Key: OFBIZ-5458
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5458
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS, ALL COMPONENTS, framework
>         Environment: multi-tenant multi-server
>            Reporter: Pierre Smits
>
> getSystemPropertyValue which accesses and retrieves tenant specific properties is never called/used regarding default settings for a tenant.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)