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

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

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

Nicolas Malin (Jira)

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

Adrian Crum commented on OFBIZ-5458:
------------------------------------

We can't simply replace all calls to UtilProperties with calls to EntityUtilProperties - because there are build dependency issues. Like I said earlier, the current design is flawed, so let's fix the design and then the related problems will be solved.

From my perspective, the correct way to provide this functionality is to have the entity engine inject a location resolver or a ClassLoader implementation in the base component. Using that approach, UtilProperties will get its values from the entity engine without having to modify any code - the feature is completely transparent to calling code, and we can eliminate EntityUtilProperties altogether.


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