[
https://issues.apache.org/jira/browse/OFBIZ-10282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425159#comment-16425159
]
Jacques Le Roux edited comment on OFBIZ-10282 at 4/4/18 11:03 AM:
------------------------------------------------------------------
Hello [~jacques.le.roux]
I agree with your comments and suggestion. I am aware of that implementation
and change.
We can keep the SystemProperty entity record with empty values where we
intentionally want to set field value as empty so that it will not read from
the property file.
In this ticket, I was suggesting to remove the xml data records that have empty
values just to show as a placeholder. Due to recent changes in XML data import
in which empty value overrides the value of database with empty. We need to
clean the existing XML data because it is possible that user change/add data on
the instance after launch and does not make any change in the data file. The
issue will generate if the user runs data load command on existing database.
was (Author: arunpati):
Hello [~jacques.le.roux]
I agree with your comments and suggestion. I am aware of that implementation
and change.
We can keep the SystemProperty entity record with empty values where we
intentionally want to set field value as empty so that it will not read from
the property file.
In this ticket, I was suggesting to remove the xml data records that have empty
values just to show as a placeholder. Due to recent changes in XML data import
in which empty value overrides the value of database with empty. We need to
clean the existing XML data because it is possible that user change/add data on
the instance after launch and does not make any change in the data file. The
issue will generate if the user runs data load command on existing database.
> Remove empty field values from xml data files so that it will not override
> existing data with empty values
> ----------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-10282
> URL: https://issues.apache.org/jira/browse/OFBIZ-10282
> Project: OFBiz
> Issue Type: Improvement
> Affects Versions: Trunk
> Reporter: Arun Patidar
> Assignee: Arun Patidar
> Priority: Major
>
> Remove empty systemPropertyValue field values from SystemProperty xml data
> files.
> Current system overrides value with empty value if it is mentioned in XML
> data tag. So need to remove empty field values to override data on the
> existing instance.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)