last week's development blog

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

last week's development blog

Si Chen-2
Reply | Threaded
Open this post in threaded view
|

Re: last week's development blog

Jacques Le Roux
Administrator
Thanks Si for your works !

Please what was your problem with  new i18n product category demo data ?

Jacques

> http://ofbiz-new.blogspot.com/2006/09/ofbiz-development-svn-r451399.html
>
> 83 commits took a while to write about!
>
> Si
Reply | Threaded
Open this post in threaded view
|

Re: last week's development blog

Si Chen-2
I posted this on the dev mailing list:

      [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.

Si



On Sep 30, 2006, at 1:21 PM, Jacques Le Roux wrote:

> Thanks Si for your works !
>
> Please what was your problem with  new i18n product category demo  
> data ?
>
> Jacques
>
>> http://ofbiz-new.blogspot.com/2006/09/ofbiz-development-svn- 
>> r451399.html
>>
>> 83 commits took a while to write about!
>>
>> Si