[ 
http://issues.apache.org/jira/browse/OFBIZ-426?page=comments#action_12447179 ] 
            
Ashish Vijaywargiya commented on OFBIZ-426:
-------------------------------------------

Hey Podejma,

Your investigation was correct.
Please read the comment of David from the Rev : 464511.(These are the comments 
about why he has removed that code)
******************************
A number of cleanups (including formatting) in the PartyContactMech stuff; this 
stuff is still a total mess and needs a lot more cleanup, especially along the 
lines of some changes I made here like using set-service-fields instead of 
manually doing all the work in a separate file using a 
call-simple-map-processor, which causes much more complex code and doesn't 
automatically handle new fields, and all sorts of undesirable things; this 
isn't what a simple-map-processor is meant to be used for
******************************
I removed that simple-map-processor call and used the <set> tag instead.
Now I am submitting the patch for this.
Please anybody review my patch and If there is a better way to resolve this 
error then please let me know.

Regards
Ashish Vijaywargiya

> Cannot create New Contact Infotmatin In Facility Manager Application
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-426
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-426
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>    Affects Versions: SVN trunk
>            Reporter: Krzysztof Podejma
>
> Rep: Facility->chose any facility ->ContactMechs->New Contact Mech->chose ex. 
> Email Address(create)-> type email and Click Save button
> The Following Errors Occurred:
>     * ERROR: Could not complete the Create a FacilityContactMech 
> [file:/home/kpodejma/bin/ofbiz_opentaps_470749/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml#createFacilityContactMech]
>  process [problem invoking the [createContactMech] service with the map named 
> [context] containing [{locale=pl, 
> userLogin=[GenericEntity:UserLogin][createdStamp,2006-11-03 
> 11:32:14.814(java.sql.Timestamp)][createdTxStamp,2006-11-03 
> 11:32:14.427(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastUpdatedStamp,2006-11-03
>  11:32:14.856(java.sql.Timestamp)][lastUpdatedTxStamp,2006-11-03 
> 11:32:14.834(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 
> createFacilityContactMech in createFacilityEmailAddress
> my investigation 
> file 
> applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
>  calls simple-map-processors from:
> "org/ofbiz/party/contact/ContactMechMapProcs.xml" witch is almost empty(in 
> svn trunk) so maps cannot be copied

-- 
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