Error on editing contact information (email)
--------------------------------------------

                 Key: OFBIZ-441
                 URL: http://issues.apache.org/jira/browse/OFBIZ-441
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: party
    Affects Versions: SVN trunk
         Environment: Windows XP, Java 1.5.0_07
            Reporter: Emilio Carlos da Palma
            Priority: Minor


Running using ant-run.

In Party Manager, trying to change a party email, I get an error with the 
following debug information on the page (in red):

The Following Errors Occurred:

The Following Errors Occurred:

    * ERROR: Could not complete the Update Contact Mechanism 
[file:/C:/workspace/ofbiz/ofbiz/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#updateContactMech]
 process [problem invoking the [createContactMech] service with the map named 
[context] containing [{locale=en_US, 
userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-09 
16:44:28.812(java.sql.Timestamp)][createdTxStamp,2006-11-09 
16:44:24.312(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastUpdatedStamp,2006-11-09
 19:38:28.078(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-09 
19:38:28.078(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]:
 The following required parameter is missing: 
[createContactMech.contactMechTypeId]] calling service updateContactMech in 
updatePartyContactMech calling service updatePartyContactMech in 
updatePartyEmailAddress

The console says:

     [java] ---- exception report 
----------------------------------------------------------
     [java] Incoming context (in runSync : createContactMech) does not match 
expected requirements
     [java] Exception: org.ofbiz.service.ServiceValidationException
     [java] Message: The following required parameter is missing: 
[createContactMech.contactMechTypeId]

Maybe these can be useful:

     [java] 2006-11-09 19:43:10,453 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:275:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
     [java] 2006-11-09 19:43:10,468 (http-0.0.0.0-8443-Processor4) [  
ServiceDispatcher.java:406:ERROR] Service Error [updateContactMech]: ERROR: 
Could not complete the Update Contact Mechanism 
[file:/C:/workspace/ofbiz/ofbiz/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#updateContactMech]
 process [problem invoking the [createContactMech] service with the map named 
[context] containing [{locale=en_US, 
userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-09 
16:44:28.812(java.sql.Timestamp)][createdTxStamp,2006-11-09 
16:44:24.312(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastUpdatedStamp,2006-11-09
 19:38:28.078(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-09 
19:38:28.078(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]:
 The following required parameter is missing: 
[createContactMech.contactMechTypeId]]
     [java] 2006-11-09 19:43:10,468 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:275:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
     [java] 2006-11-09 19:43:10,484 (http-0.0.0.0-8443-Processor4) [  
ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:0.391,since 
last(Begin):0.391]] - 'partymgr / updateContactMech'
     [java] 2006-11-09 19:43:10,484 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:275:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
     [java] 2006-11-09 19:43:10,484 (http-0.0.0.0-8443-Processor4) [  
ServiceDispatcher.java:406:ERROR] Service Error [updatePartyContactMech]: 
ERROR: Could not complete the Update Contact Mechanism 
[file:/C:/workspace/ofbiz/ofbiz/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#updateContactMech]
 process [problem invoking the [createContactMech] service with the map named 
[context] containing [{locale=en_US, 
userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-09 
16:44:28.812(java.sql.Timestamp)][createdTxStamp,2006-11-09 
16:44:24.312(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastUpdatedStamp,2006-11-09
 19:38:28.078(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-09 
19:38:28.078(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]:
 The following required parameter is missing: 
[createContactMech.contactMechTypeId]] calling service updateContactMech in 
updatePartyContactMech
     [java] 2006-11-09 19:43:10,484 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:275:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
     [java] 2006-11-09 19:43:10,484 (http-0.0.0.0-8443-Processor4) [  
ServiceDispatcher.java:446:DEBUG] [[Sync service finished- total:0.391,since 
last(Begin):0.391]] - 'partymgr / updatePartyContactMech'
     [java] 2006-11-09 19:43:10,500 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:275:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
     [java] 2006-11-09 19:43:10,500 (http-0.0.0.0-8443-Processor4) [  
ServiceDispatcher.java:406:ERROR] Service Error [updatePartyEmailAddress]: 
ERROR: Could not complete the Update Contact Mechanism 
[file:/C:/workspace/ofbiz/ofbiz/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml#updateContactMech]
 process [problem invoking the [createContactMech] service with the map named 
[context] containing [{locale=en_US, 
userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-09 
16:44:28.812(java.sql.Timestamp)][createdTxStamp,2006-11-09 
16:44:24.312(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,Y(java.lang.String)][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastUpdatedStamp,2006-11-09
 19:38:28.078(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-09 
19:38:28.078(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)]}]:
 The following required parameter is missing: 
[createContactMech.contactMechTypeId]] calling service updateContactMech in 
updatePartyContactMech calling service updatePartyContactMech in 
updatePartyEmailAddress
     [java] 2006-11-09 19:43:10,515 (http-0.0.0.0-8443-Processor4) [    
TransactionUtil.java:238:ERROR]



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to