Can you reproduce with trunk?

Jacques

From: "charleslcso" <char...@tourdefarm.com>
Just installed ofbiz 10.04.02, and following the guide

http://demo-trunk.ofbiz.apache.org/cmssite/cms/APACHE_OFBIZ_HTML

to set it up.

At Product Store section, and upon clicking button "Update" the following
error occurred:

Error: Error parsing entity xml file:
org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:CarrierShipmentMethod][createdStamp,2012-06-02
11:52:49.89(java.sql.Timestamp)][createdTxStamp,2012-06-02
11:52:49.701(java.sql.Timestamp)][lastUpdatedStamp,2012-06-02
11:52:49.89(java.sql.Timestamp)][lastUpdatedTxStamp,2012-06-02
11:52:49.701(java.sql.Timestamp)][partyId,Company(java.lang.String)][roleTypeId,CARRIER(java.lang.String)][sequenceNumber,4(java.lang.Long)][shipmentMethodTypeId,LOCAL_DELIVERY(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO
public.CARRIER_SHIPMENT_METHOD (SHIPMENT_METHOD_TYPE_ID, PARTY_ID,
ROLE_TYPE_ID, SEQUENCE_NUMBER, CARRIER_SERVICE_CODE, LAST_UPDATED_STAMP,
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?,
?, ?, ?, ?, ?) (ERROR: insert or update on table "carrier_shipment_method"
violates foreign key constraint "carr_shmeth_type"<br/> Detail: Key
(shipment_method_type_id)=(LOCAL_DELIVERY) is not present in table
"shipment_method_type".))  calling service parseEntityXmlFile in
importTempDataFile

Checked the table "shipment_method_type" and it's empty.

How do I manually load all the shipment related tables into the database
using ant?

BTW, I only executed ./ant  run-install-extseed before trying to run
/ofbizsetup.

Please help!

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Need-help-using-ofbizsetup-tp4632997.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to