svn commit: r1661984 - /ofbiz/trunk/applications/order/ofbiz-component.xml

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

svn commit: r1661984 - /ofbiz/trunk/applications/order/ofbiz-component.xml

jleroux@apache.org
Author: jleroux
Date: Tue Feb 24 15:30:36 2015
New Revision: 1661984

URL: http://svn.apache.org/r1661984
Log:
Comments out the loading of the OrderQuoteDemoData.xml file for now because of this issue while loading demo data (load-demo):

     [java] 2015-02-24 15:16:34,853 |main                 |GenericDelegator              |E| Failure in create operation for entity [QuoteItem]: org.ofbiz.entity.GenericEntityException: Error while inserting:
 [GenericEntity:QuoteItem][comments,10% off(java.lang.String)][createdStamp,2015-02-24 15:16:34.839(java.sql.Timestamp)][createdTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][lastUpdatedStamp,2015-02-24
 15:16:34.839(java.sql.Timestamp)][lastUpdatedTxStamp,2015-02-24 15:16:34.731(java.sql.Timestamp)][productId,GZ-1000(java.lang.String)][quantity,150.000000(java.math.BigDecimal)][quoteId,CQ0001(java.lang.Stri
ng)][quoteItemSeqId,00001(java.lang.String)][quoteUnitPrice,9.90(java.math.BigDecimal)] (SQL Exception while executing the following:INSERT INTO OFBIZ.QUOTE_ITEM (QUOTE_ID, QUOTE_ITEM_SEQ_ID, PRODUCT_ID, PROD
UCT_FEATURE_ID, DELIVERABLE_TYPE_ID, SKILL_TYPE_ID, UOM_ID, WORK_EFFORT_ID, CUST_REQUEST_ID, CUST_REQUEST_ITEM_SEQ_ID, QUANTITY, SELECTED_AMOUNT, QUOTE_UNIT_PRICE, RESERV_START, RESERV_LENGTH, RESERV_PERSONS,
 CONFIG_ID, ESTIMATED_DELIVERY_DATE, COMMENTS, IS_PROMO, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?
, ?) (INSERT on table 'QUOTE_ITEM' caused a violation of foreign key constraint 'QUOTE_ITM_PROD' for key (GZ-1000).  The statement has been rolled back.)). Rolling back transaction.

Modified:
    ofbiz/trunk/applications/order/ofbiz-component.xml

Modified: ofbiz/trunk/applications/order/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/ofbiz-component.xml?rev=1661984&r1=1661983&r2=1661984&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/order/ofbiz-component.xml Tue Feb 24 15:30:36 2015
@@ -37,7 +37,7 @@ under the License.
     <entity-resource type="data" reader-name="seed" loader="main" location="data/OrderHelpData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderDemoUser.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderDemoData.xml"/>
-    <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderQuoteDemoData.xml"/>
+    <!-- <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderQuoteDemoData.xml"/> -->
 
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_cart.xml"/>