You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Sam Hamilton <sa...@virtualvillage.com> on 2009/01/01 10:45:43 UTC

Re: Error with HR module

Thanks Jacques


On 31/12/2008 22:00, "Jacques Le Roux" <ja...@les7arts.com> wrote:

Fixed in revision: 730397 . This is due to recent changes in simple-method tags
It needs more work, I'm looking at it

Jacques

From: "Sam Hamilton" <sa...@virtualvillage.com>
>I was just adding a new employee into the following page:
> https://demo.hotwaxmedia.com/humanres/control/createEmployee
>
> got this nice error:
> The Following Errors Occurred:
>
> Error:Error:Error:ERROR: Could not complete the Create Contact Mechanism
> [file:/demo/deployments/demo.hotwaxmedia.com/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#createContactMech]
> process [problem creating the newValue value: Error while inserting:
> [GenericEntity:ContactMech][contactMechTypeId,POSTAL_ADDRESS(java.lang.String)][createdStamp,2008-12-31
> 03:46:06.696(java.sql.Timestamp)][createdTxStamp,2008-12-31 03:46:06.658(java.sql.Timestamp)][lastUpdatedStamp,2008-12-31
> 03:46:06.696(java.sql.Timestamp)][lastUpdatedTxStamp,2008-12-31 03:46:06.658(java.sql.Timestamp)] (SQL Exception while executing
> the following:INSERT INTO OFBIZ.CONTACT_MECH (CONTACT_MECH_ID, CONTACT_MECH_TYPE_ID, INFO_STRING, LAST_UPDATED_STAMP,
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (Column 'CONTACT_MECH_ID' cannot accept a
> NULL value.))] calling service createContactMech in createPostalAddress calling service createPostalAddress in
> createPartyPostalAddress calling service createPartyPostalAddress in createPartyContactMechs
>
> Checked and i dont think there was anything strange in the data i was trying to submit.
>
> Cheers
> Sam
>



Sam Hamilton
CTO
Virtual Village

Tel: +86 (21) 6271 3051
Fax: +86 (21) 6271 3021
Mobile: +86 (135) 2451 4480
E-mail: sam.hamilton@virtualvillage.com