data loading error with svn

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

data loading error with svn

Si Chen-2
Hi everybody.  So my weekly build test uncovered this bug:

      [java] 2006-09-29 12:52:19,028 (main) [    EntitySaxReader.java:
196:INFO ] Beginning import from URL: file:/var/sambashare/testing/
ofbiz_opentaps_451399/applications/content/data/
DemoCategoriesI18nData.xml
      [java] 2006-09-29 12:52:19,029 (main) [    EntitySaxReader.java:
234:INFO ] Transaction Timeout set to 2 hours (7200 seconds)
      [java] 2006-09-29 12:52:19,297 (main) [   GenericDelegator.java:
579:ERROR]
      [java] ---- exception report  
----------------------------------------------------------
      [java] Failure in create operation for entity  
[ProductCategoryContent]: org.ofbiz.entity.GenericEntityException:  
Exception while inserting the following entity:  
[GenericEntity:ProductCategoryContent][contentId,C100DESC
(java.lang.String)][createdStamp,2006-09-29 12:52:19.237
(java.sql.Timestamp)][createdTxStamp,2006-09-29 12:52:19.029
(java.sql.Timestamp)][fromDate,2006-09-22 00:00:00.0
(java.sql.Timestamp)][lastUpdatedStamp,2006-09-29 12:52:19.237
(java.sql.Timestamp)][lastUpdatedTxStamp,2006-09-29 12:52:19.029
(java.sql.Timestamp)][prodCatContentTypeId,DESCRIPTION
(java.lang.String)][productCategoryId,100(java.lang.String)] (while  
inserting: [GenericEntity:ProductCategoryContent][contentId,C100DESC
(java.lang.String)][createdStamp,2006-09-29 12:52:19.237
(java.sql.Timestamp)][createdTxStamp,2006-09-29 12:52:19.029
(java.sql.Timestamp)][fromDate,2006-09-22 00:00:00.0
(java.sql.Timestamp)][lastUpdatedStamp,2006-09-29 12:52:19.237
(java.sql.Timestamp)][lastUpdatedTxStamp,2006-09-29 12:52:19.029
(java.sql.Timestamp)][prodCatContentTypeId,DESCRIPTION
(java.lang.String)][productCategoryId,100(java.lang.String)] (SQL  
Exception while executing the following:INSERT INTO  
OFBIZ.PRODUCT_CATEGORY_CONTENT (PRODUCT_CATEGORY_ID, CONTENT_ID,  
PROD_CAT_CONTENT_TYPE_ID, FROM_DATE, THRU_DATE, PURCHASE_FROM_DATE,  
PURCHASE_THRU_DATE, USE_COUNT_LIMIT, USE_DAYS_LIMIT,  
LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,  
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)  
(INSERT on table 'PRODUCT_CATEGORY_CONTENT' caused a violation of  
foreign key constraint 'PRDCAT_CNT_PRDCAT' for key (100).  The  
statement has been rolled back.))). Rolling back transaction.

I think it is from a new feature this week.

Si