It means you need to update your seed data, something like "ant run-install-seed".
-David rohit2006 wrote:
hi, i am using the latest SVN, and i am getting the the following error whenever i try tp add a new party, through the part manager. Data source error occurred while adding party group: Exception while inserting the following entity: [GenericEntity:Party][createdByUserLogin,admin(java.lang.String)][createdDate,2006-07-24 10:20:14.406(java.sql.Timestamp)][createdStamp,2006-07-24 10:20:14.406(java.sql.Timestamp)][createdTxStamp,2006-07-24 10:20:14.39(java.sql.Timestamp)][description,lkjlkj(java.lang.String)][lastModifiedByUserLogin,admin(java.lang.String)][lastModifiedDate,2006-07-24 10:20:14.406(java.sql.Timestamp)][lastUpdatedStamp,2006-07-24 10:20:14.406(java.sql.Timestamp)][lastUpdatedTxStamp,2006-07-24 10:20:14.39(java.sql.Timestamp)][partyId,10033(java.lang.String)][partyTypeId,PARTY_GROUP(java.lang.String)][statusId,PARTY_ENABLED(java.lang.String)] (while inserting: [GenericEntity:Party][createdByUserLogin,admin(java.lang.String)][createdDate,2006-07-24 10:20:14.406(java.sql.Timestamp)][createdStamp,2006-07-24 10:20:14.406(java.sql.Timestamp)][createdTxStamp,2006-07-24 10:20:14.39(java.sql.Timestamp)][description,lkjlkj(java.lang.String)][lastModifiedByUserLogin,admin(java.lang.String)][lastModifiedDate,2006-07-24 10:20:14.406(java.sql.Timestamp)][lastUpdatedStamp,2006-07-24 10:20:14.406(java.sql.Timestamp)][lastUpdatedTxStamp,2006-07-24 10:20:14.39(java.sql.Timestamp)][partyId,10033(java.lang.String)][partyTypeId,PARTY_GROUP(java.lang.String)][statusId,PARTY_ENABLED(java.lang.String)] (SQL Exception while executing the following:INSERT INTO public.PARTY (PARTY_ID, PARTY_TYPE_ID, EXTERNAL_ID, PREFERRED_CURRENCY_UOM_ID, DESCRIPTION, STATUS_ID, CREATED_DATE, CREATED_BY_USER_LOGIN, LAST_MODIFIED_DATE, LAST_MODIFIED_BY_USER_LOGIN, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (ERROR: insert or update on table "party" violates foreign key constraint "party_statusitm" Detail: Key (status_id)=(PARTY_ENABLED) is not present in table "status_item".))). Any ideas how this can be resolved. rohit
smime.p7s
Description: S/MIME Cryptographic Signature
