Hello during my test on entity-auto, the non regression entitytests faild on testConverters. I believed at first to an error from my local improvement but after a svn revert and run an other "ant clean-all load-demo run-tests", I have one error :

org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:Testing][createdStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][createdTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][description,Testing JSON Converters(java.lang.String)][lastUpdatedStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingDate,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING (TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled back.)) (Error while inserting: [GenericEntity:Testing][createdStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][createdTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][description,Testing JSON Converters(java.lang.String)][lastUpdatedStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingDate,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING (TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled back.)))

|org.ofbiz.entity.GenericEntityException: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:Testing][createdStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][createdTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][description,Testing JSON Converters(java.lang.String)][lastUpdatedStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingDate,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING (TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled back.)) (Error while inserting: [GenericEntity:Testing][createdStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][createdTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][description,Testing JSON Converters(java.lang.String)][lastUpdatedStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][lastUpdatedTxStamp,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingDate,2014-11-05 09:33:30.509(java.sql.Timestamp)][testingId,JSON_TEST(java.lang.String)][testingSize,123(java.lang.Long)][testingTypeId,TEST-UPDATE-1(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.TESTING (TESTING_ID, TESTING_TYPE_ID, TESTING_NAME, DESCRIPTION, COMMENTS, TESTING_SIZE, TESTING_DATE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (INSERT on table 'TESTING' caused a violation of foreign key constraint 'ENTITY_ENTY_TYP' for key (TEST-UPDATE-1). The statement has been rolled back.)))
at org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:923)
at org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:745)
at org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:731)
at org.ofbiz.entity.test.EntityTestSuite.testConverters(EntityTestSuite.java:1218)

|I'm only one ?

Nicolas
--

Nicolas Malin - Consultant - 06 17 66 40 06 - nereide.fr <http://nereide.fr>

Reply via email to