You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wai (JIRA)" <ji...@apache.org> on 2015/01/07 22:52:35 UTC

[jira] [Created] (OFBIZ-5949) Remove generation of temp file when loading entity xml file containing placeholders

Wai created OFBIZ-5949:
--------------------------

             Summary: Remove generation of temp file when loading entity xml file containing placeholders
                 Key: OFBIZ-5949
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5949
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
            Reporter: Wai


Currently, when creating a new product store using ofbizsetup component default data associated with the product store is loaded into the database using the following steps.

1. read default data from entity xml file and replace specific items in the read data and write to temp file.
2. use service=parseEntityXmlFile to load the processed file into database.

The issue with this method is that the temp file can present a problem when ofbiz is operating in multitenant mode.

The solution is to modify the relevant services so that no temp file needs generated.



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