[ 
https://issues.apache.org/jira/browse/OFBIZ-12815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Hahn updated OFBIZ-12815:
--------------------------------
    Description: The getProperty methods in EntityUtilProperties don't use 
entity at all. All of the getProperty methods simply lead to UtilProperties and 
therefore no configure during runtime is possible. New methods have been 
written so the entity usage is now functional.  (was: In for example 
InterfaceConfig there are several methods which lead to UtilProperties instead 
of EntityUtilProperties and therefore cannot be configured during runtime. All 
of these methods don't access the database at all and just reference the 
UtilProperties methods. I rewrote the methods in EntityUtilProperties so first 
the database gets checked and if no entry in the database is found the fallback 
to UtilProperties happens. I left in all the current used methods and just 
placed my rewritten methods above the current used ones.

example methods found in InterfaceConfig:

getConfigParam, 

getConfigParamAsBoolean, 

getConfigParamAsInt, 

getConfigParamAsLong)

> EntityUtil getProperty Methods dont use entity
> ----------------------------------------------
>
>                 Key: OFBIZ-12815
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12815
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/entity
>    Affects Versions: 18.12.07
>            Reporter: Tobias Hahn
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> The getProperty methods in EntityUtilProperties don't use entity at all. All 
> of the getProperty methods simply lead to UtilProperties and therefore no 
> configure during runtime is possible. New methods have been written so the 
> entity usage is now functional.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to