[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

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

[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

Nicolas Malin (Jira)

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

Arun Patidar commented on OFBIZ-7754:
-------------------------------------

Hello [~hansbak]

I agree with you. We can put values in SystemProperty with empty value to keep a reference of available properties and can override it in future whenever required from DB directly. Also, if there is empty value in DB,  then system should check in properties file for getting its default value if any.

If user forcefully wants to override value with empty then we can add support of  *'NULL-FIELD'* as we use in xml. For example:
{code}
<SystemProperty systemResourceId="tenant" systemPropertyId="tenantDomainSeperator" systemPropertyValue="NULL-FIELD" />
{code}








> The big problem when load seed.
> -------------------------------
>
>                 Key: OFBIZ-7754
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7754
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Kongrath Suankaewmanee
>            Assignee: Jacques Le Roux
>         Attachments: OFBIZ-7754.patch
>
>
> Hi All,
> Regarding, [OFBIZ-7112|https://issues.apache.org/jira/browse/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.
> Thank you,
> Kongrath



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)