You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Al Byers (JIRA)" <ji...@apache.org> on 2006/12/05 16:27:22 UTC

[jira] Commented: (OFBIZ-517) createPartyPostalAddress should set contactMechTypeId

    [ http://issues.apache.org/jira/browse/OFBIZ-517?page=comments#action_12455669 ] 
            
Al Byers commented on OFBIZ-517:
--------------------------------

The previous fix for this problem was incorrect. 
It looks like these lines needed to be swapped in PartyContactMechServices.createPartyPostalAddrss:
        <set-service-fields service-name="createPartyContactMech" map-name="parameters" to-map-name="createPartyContactMechMap"/>
        <set field="createPartyContactMechMap.contactMechId" from-field="newPartyContactMech.contactMechId"/>
(that is correct as is)


> createPartyPostalAddress should set contactMechTypeId
> -----------------------------------------------------
>
>                 Key: OFBIZ-517
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-517
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Al Byers
>         Attachments: PartyContactMechServices.patch, PartyContactMechServices.patch
>
>
> In PartyContactMechServices, createPartyPostalAddress calls createPartyContactMech without setting contactMechTypeId. It is not required in createPartyContactmech, but it is required in createContactMech and throws an execption.
> Same thing with createPartyTelecom

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