ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Hamilton <sam.hamil...@virtualvillage.com>
Subject Re: Error with HR module
Date Thu, 01 Jan 2009 09:45:43 GMT
Thanks Jacques


On 31/12/2008 22:00, "Jacques Le Roux" <jacques.le.roux@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" <sam.hamilton@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message