[
https://issues.apache.org/jira/browse/OFBIZ-7754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368242#comment-15368242
]
Wai commented on OFBIZ-7754:
----------------------------
A property value can be empty. It is the same as commenting out a property.
In such a case, a default value in ofbiz code would be used.
"...But is it required? Please give me a number of examples where this is
needed. As far as I can see a properties value always has content either Y/N or
False/True or a value...."
>>>A sample case in which an issue would result is if nothing is a valid
value for a property. In such a scenario, if the user wants to set the
database-based version of the property to nothing, the code would proceed to
get a value from the file-based counterpart. Which is not what is desired.
"...Further, anybody just starting with the system will try to change the most
important properties file 'general.properties' and will see no result...."
>>>It should be noted that the database-based version of property is a
special case. Generally, a user using ofbiz in single tenant mode would be
using the file-based properties. In such a situation, the user should not have
loaded the database-base version into the database.
>>>And if seed data for database-based properties need to be loaded, it
should be customized according to the user's requirements. In other words,
those properties that are not required should be edited out before seeding.
> 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)