You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by james yong <i_...@yahoo.com.sg> on 2008/04/18 06:22:42 UTC

Inital Data Loading

Hi,

I was running ant run-install, and got the following error. The version of
ofbiz used is trunk. Maybe this is due to the seed data problem?

insert or update on table "supplier_product" violates foreign key constraint
"suppl_prod_party"
[java]   Detail: Key (party_id)=(DemoSupplier) is not present in table
"party".)). 

Regards,
James
-- 
View this message in context: http://www.nabble.com/Inital-Data-Loading-tp16760145p16760145.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Inital Data Loading

Posted by Christian Geisert <ch...@isu-gmbh.de>.
james yong schrieb:
> Hi,
> 
> I was running ant run-install, and got the following error. The version of
> ofbiz used is trunk. Maybe this is due to the seed data problem?
> 
> insert or update on table "supplier_product" violates foreign key constraint
> "suppl_prod_party"
> [java]   Detail: Key (party_id)=(DemoSupplier) is not present in table
> "party".)). 

I just did an 'ant run-install' (after an 'ant clean-data') with the
latest trunk (rev. 649415) and everything was running fine.

So it looks like something is wrong with *your seed/demo-data - just do 
a svn diff to see if there are any changes.

-- 
Christian


Re: Inital Data Loading

Posted by BJ Freeman <bj...@free-man.net>.
https://demo.hotwaxmedia.com/webtools/control/FindGeneric?entityName=Party&find=true&VIEW_SIZE=10&VIEW_INDEX=0
does show the  DemoSupplier. this is suppose to be the latest svn.
1)possibly you don't have a complete SVN and need to update you copy
2) you have done some work on the data and it id not get loaded properly.
you can find the data file in the eccommerce data folder and import it
via the webtools to see if has problems.
https://demo.hotwaxmedia.com/webtools/control/EntityImport

james yong sent the following on 4/17/2008 9:22 PM:
> Hi,
> 
> I was running ant run-install, and got the following error. The version of
> ofbiz used is trunk. Maybe this is due to the seed data problem?
> 
> insert or update on table "supplier_product" violates foreign key constraint
> "suppl_prod_party"
> [java]   Detail: Key (party_id)=(DemoSupplier) is not present in table
> "party".)). 
> 
> Regards,
> James