[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

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

[jira] [Commented] (OFBIZ-7112) EntityUtilProperties

Nicolas Malin (Jira)

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

Michael Brohl commented on OFBIZ-7112:
--------------------------------------

[~jleroux],

the issue here is solely for the purpose of reading and using empty SystemProperty entries instead of using the file properties when the SystemProperty is empty. This seems to be solved and ready to be closed. This issue is connected to the 17.12 release which we cannot finish when the issue is open.

Dropping the tenants is definetely not in the scope of this ticket or one of the existing release branches.

The big topic of how we handle tenants now and in the future warrants another issue and should not block this one here, IMO.

 

> EntityUtilProperties
> --------------------
>
>                 Key: OFBIZ-7112
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7112
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Wai
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: 17.12.01
>
>         Attachments: OFBIZ-7112.patch, OFBIZ-7112.patch, OFBIZ-7112.patch, OFBIZ-7112.patch, OFBIZ-7112.patch
>
>
> Ofbiz reads properties from either a properties file or the entity:SystemProperty. The way it works previously is that ofbiz reads from the entity:SystemProperty first and if there is no value associated with the target propertyname, it would then locate the value from the relevant properties file.
> In other words, if there is a database entry for a property, the database entry should override the associated properties file.
> The issue is that if a database entry exist but the value is empty, it would look for a value from the properties file.  It should not do so.  If a database entry exists for the propertyname of interest, the value should be taken from the database even if it holds an empty value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)