[
https://issues.apache.org/jira/browse/OFBIZ-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577057#comment-14577057 ]
Pierre Smits edited comment on OFBIZ-5949 at 6/8/15 11:39 AM:
--------------------------------------------------------------
Maybe the ofbiz-setup application was indeed intended as a means to provide some kind of multi-tenancy functionality, but we have since (and maybe also before that implementation) put more effort in place to get a better separation of tenant functionality.
On top of that, as far as I can assess the mail threads, the original intention of the commonext component was to provide a means to implementers to extend functionality in the common component (in framework).
The ofbiz-setup application delivers a specific feature set for a select group of users, and should - in my opinion - be disentangled from commonext and move to the special purpose stack.
was (Author: pfm.smits):
Maybe the ofbiz-setup application was indeed intended as a means to provide some kind of multi-tenancy functionality, but we have since (and maybe also before that implementation) put more effort in place to get a better separation of tenant...
On top of that, as far as I can assess the mail threads, the original intention of the commonext component was to provide a means to implementers to extend functionality in the common component (in framework).
The ofbiz-setup application delivers a specific feature set for a select group of users, and should - in my opinion - be disentangled from commonext and move to the special purpose stack.
> ofbizsetup create product store cause exception, remove use of temp file to load entity data
> --------------------------------------------------------------------------------------------
>
> Key: OFBIZ-5949
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5949> Project: OFBiz
> Issue Type: Bug
> Components: commonext/setup
> Affects Versions: Trunk
> Reporter: Wai
> Assignee: Jacques Le Roux
> Attachments: OFBIZ-5949.patch, OFBIZ-5949.patch, OFBIZ-5949.patch
>
>
> The exception is caused by foreign key constraint violation between ShipmentCostEstimate and CarrierShipmentMethod entities.
> 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)