[ 
https://issues.apache.org/jira/browse/OFBIZ-9967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sonal Patwari updated OFBIZ-9967:
---------------------------------
    Attachment: OFBIZ-9967.patch

Added a 'if-not-empty' check for 'oldContactMechId' field i.e, if 
'oldContactMechId' is available then only 'removeOrderContactMech' service 
should be called in 'updateOrderContactMech' service.
I have verified the changes on the local instance. Please find the attached 
patch. Thanks!

> In 'updateOrderContactMech' service, A check should be added to call 
> 'removeOrderContactMech'.
> ----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9967
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9967
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Sonal Patwari
>            Assignee: Sonal Patwari
>         Attachments: OFBIZ-9967.patch
>
>
> In case, user don't create orderContactMech while creating an order and wish 
> to create orderContactMech after the creation then, 'updateOrderContactMech' 
> throws error of 'oldContactMechId' parameter missing in 
> 'removeOrderContactMech' service.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to