this is seed only install
used the ant to create a login then created a party for the login and linked them through the webtools. while creating the party I also create a postal and email contactmech. this created contactMechId 10001 and 10002 then I went to setup to create the organization. on the save I got a error message: Error: ERROR: Could not complete the Create Contact Mechanism [file:/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#createContactMech] process [problem creating the newValue value: Error while inserting: [GenericEntity:ContactMech][contactMechId,10002(java.lang.String)][contactMechTypeId,POSTAL_ADDRESS(java.lang.String)] cut (SQL Exception while executing the following:INSERT INTO public.CONTACT_MECH (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_contact_mech"))] calling service createPartyPostalAddress in createOrganization have not dug into it yet. if sone one does not fix before I get to it, I will create a jira. ========================= BJ Freeman <http://bjfreeman.elance.com> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man |
my proposed way to fix this is add and SECA triggered by the login that
checks for a party of that is linked to the login. this will work since all future logins will have a party created first. if no partyID found then is sent to the setup for a new person for the login then goes directly to the organization setup. ========================= BJ Freeman <http://bjfreeman.elance.com> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man BJ Freeman sent the following on 8/27/2010 11:13 AM: > this is seed only install > used the ant to create a login > then created a party for the login and linked them through the webtools. > while creating the party I also create a postal and email contactmech. > this created contactMechId 10001 and 10002 > then I went to setup to create the organization. > on the save I got a error message: > Error: ERROR: Could not complete the Create Contact Mechanism > [file:/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#createContactMech] > process [problem creating the newValue value: Error while inserting: > [GenericEntity:ContactMech][contactMechId,10002(java.lang.String)][contactMechTypeId,POSTAL_ADDRESS(java.lang.String)] > > cut > > (SQL Exception while executing the following:INSERT INTO > public.CONTACT_MECH (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, > LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, > CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key > value violates unique constraint "pk_contact_mech"))] calling service > createPartyPostalAddress in createOrganization > > have not dug into it yet. > if sone one does not fix before I get to it, I will create a jira. > > ========================= > BJ Freeman <http://bjfreeman.elance.com> > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > > |
https://issues.apache.org/jira/browse/OFBIZ-3908
BJ Freeman sent the following on 8/27/2010 11:36 AM: ========================= BJ Freeman <http://bjfreeman.elance.com> Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man > my proposed way to fix this is add and SECA triggered by the login that > checks for a party of that is linked to the login. this will work since > all future logins will have a party created first. > if no partyID found then is sent to the setup for a new person for the > login then goes directly to the organization setup. > > ========================= > BJ Freeman <http://bjfreeman.elance.com> > Strategic Power Office with Supplier Automation > <http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > > > BJ Freeman sent the following on 8/27/2010 11:13 AM: >> this is seed only install >> used the ant to create a login >> then created a party for the login and linked them through the webtools. >> while creating the party I also create a postal and email contactmech. >> this created contactMechId 10001 and 10002 >> then I went to setup to create the organization. >> on the save I got a error message: >> Error: ERROR: Could not complete the Create Contact Mechanism >> [file:/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#createContactMech] >> >> process [problem creating the newValue value: Error while inserting: >> [GenericEntity:ContactMech][contactMechId,10002(java.lang.String)][contactMechTypeId,POSTAL_ADDRESS(java.lang.String)] >> >> >> cut >> >> (SQL Exception while executing the following:INSERT INTO >> public.CONTACT_MECH (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, >> LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, >> CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (ERROR: duplicate key >> value violates unique constraint "pk_contact_mech"))] calling service >> createPartyPostalAddress in createOrganization >> >> have not dug into it yet. >> if sone one does not fix before I get to it, I will create a jira. >> >> ========================= >> BJ Freeman <http://bjfreeman.elance.com> >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com <http://www.specialtymarket.com/> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> >> > > |
Free forum by Nabble | Edit this page |