The 1st error I found in the log is

2012-12-07 18:20:37,465 (http-0.0.0.0-8443-6) [        
CallService.java:251:ERROR] 
---- exception report ----------------------------------------------------------
ERROR: Could not complete the create and update credit card 
[file:/home/ironm/apache-ofbiz-11.04.01/applications/order/script/org/ofbiz/order/order/OrderServices.xml#createUpdateCreditCard]
 process [problem invoking the [createCreditCard] service with the map named 
[creditCardContext] containing [{paymentMethodId=null, cardType=MasterCard, 
cardNumber=FR42300102011176, firstNameOnCard=Hugo, lastNameOnCard=Boss, 
contactMechId=10002, partyId=10000, expMonth=12, expYear=2017, 
userLogin=[GenericEntity:UserLogin][createdStamp,2012-12-07 
18:13:50.75(java.sql.Timestamp)][createdTxStamp,2012-12-07 
18:13:50.582(java.sql.Timestamp)][currentPassword,{SHA}74ce7fcefd5b3f91ffb54157247c9902e0e44c72(java.lang.String)][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2012-12-07
 18:13:50.75(java.sql.Timestamp)][lastUpdatedTxStamp,2012-12-07 
18:13:50.582(java.sql.Timestamp)][partyId,10000(java.lang.String)][passwordHint,123(java.lang.String)][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,[email protected](java.lang.String)],
 locale=en_US, 
timeZone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]}]:
 Service [createCreditCard] target threw an unexpected exception (For input 
string: "F")]

Then the one you found.

But to reproduce we need more: notably the products you bought the payment 
method, etc. Include as much as you can

Thanks

Jacques
  ----- Original Message ----- 
  From: Mark Schneider 
  To: [email protected] 
  Sent: Saturday, December 08, 2012 1:27 PM
  Subject: Fwd: ERROR 23503: INSERT on table 'ORDER_CONTACT_MECH' caused a 
violation of foreign key constraint 'ORDER_CMECH_CM' for key (10004)


  Hello,

  In case "[email protected]" is not the appriopriate list for such message 
like below (as I didn't get any answers yet).

  I use wheezy (debian linux) with JDK7 u9 for testing of OFBiz 11.04.01 and 
just follow the "Apache OFBiz Development" book from Rupert Howell and Jonathon 
Wong.

  regards, Mark


  -------- Original-Nachricht -------- Betreff:  ERROR 23503: INSERT on table 
'ORDER_CONTACT_MECH' caused a violation of foreign key constraint 
'ORDER_CMECH_CM' for key (10004) 
        Datum:  Fri, 07 Dec 2012 19:39:13 +0100 
        Von:  Mark Schneider <[email protected]> 
        Antwort an:  [email protected] 
        An:  [email protected] 


Hello,

It looks like a bug in ecommerce (a try to execute a new order on OFBiz 
11.04.01).
# ---
ERROR 23503: INSERT on table 'ORDER_CONTACT_MECH' caused a violation of 
foreign key constraint 'ORDER_CMECH_CM' for key (10004)

More details are in the attached file.

regards, Mark

-- 
[email protected]

http://rsync.it-infrastrukturen.org


ps.  ofbiz11.04.01-error-violation-of-foreign-key.png

Reply via email to