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

Tobias Hahn updated OFBIZ-12815:
--------------------------------
    Description: 
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

  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. 

example methods found in InterfaceConfig:

getConfigParam, 

getConfigParamAsBoolean, 

getConfigParamAsInt, 

getConfigParamAsLong


> getConfigParam etc. in InterfaceConfig cannot be configured during runtime
> --------------------------------------------------------------------------
>
>                 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
>
>
> 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



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

Reply via email to