You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Tobias Hahn (Jira)" <ji...@apache.org> on 2023/05/05 13:40:00 UTC

[jira] [Created] (OFBIZ-12815) getConfigParam etc. in InterfaceConfig cannot be configured during runtime

Tobias Hahn created OFBIZ-12815:
-----------------------------------

             Summary: 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
             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. 

example methods found in InterfaceConfig:

getConfigParam, 

getConfigParamAsBoolean, 

getConfigParamAsInt, 

getConfigParamAsLong



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