This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 91eb7dcd64 Improved: The big problem when loading seed. (OFBIZ-7754) 91eb7dcd64 is described below commit 91eb7dcd64e472ff931878fe364a23a3548b9aae Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Aug 30 10:22:45 2022 +0200 Improved: The big problem when loading seed. (OFBIZ-7754) Regarding, OFBIZ-7112, that's good for who start on use the ofbiz with initial setup, but not for the site that already online and has to update the OFBiz core. Because when has update OFBiz core they will use command load-seed for update. The problem is if we use load-seed mean the configuration data that's already exists will be replaced by the data from this file, CommonSystemPropertyData.xml So, for my suggestion should change the reader from seed to seed-initial or remove systemPropertyValue from the data file. Thanks: Kongrath Suankaewmanee --- framework/common/ofbiz-component.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/common/ofbiz-component.xml b/framework/common/ofbiz-component.xml index c5ee1b38a1..69d66ea772 100644 --- a/framework/common/ofbiz-component.xml +++ b/framework/common/ofbiz-component.xml @@ -27,7 +27,7 @@ under the License. <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonSecurityPermissionSeedData.xml"/> - <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonSystemPropertyData.xml"/> + <entity-resource type="data" reader-name="seed-initial" loader="main" location="data/CommonSystemPropertyData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonTypeData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/CurrencyData.xml"/> <entity-resource type="data" reader-name="seed" loader="main" location="data/CountryCodeData.xml"/>