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

Sascha Rodekamp updated OFBIZ-3995:
-----------------------------------

    Attachment: OFBIZ-3995_ContactMechServices_JunitTestsFix.patch

Hi Jacques,

i think the problem was, that updateContactMech method is canceled, when you 
try to update an postalAddress or TelecomNumber. The Method suggest to use the 
updatePostalAddress and/ or updateTelecomNumber service (which is right indeed) 
, but these services call the updateContactMech and here we stuck. 

updateTelecomNumber --> calls updateContactMech --> updateContctMech notice 
that you want to update a telecom number and retunred an error and cancel the 
service. 
I changed the error to an warning, so everyone who calls the update contact 
mech directly will remind that he should use the updateTelecomNumber instead.

Or is there another special reason why the updateContactMech method abort and 
return an error?!

Have a good day
Sascha

> Updating Email Address say Contact Mechanism Successfully Updated
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-3995
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3995
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3995_ContactMechServices.patch, 
> OFBIZ-3995_ContactMechServices_JunitTestsFix.patch
>
>
> Hm, i had a little bit trouble when i tried to update my address data (shop). 
> The result message was Contact Mechanism Successfully Updated. The service 
> (updateContactMech) tries to differ between email, phone, web ... address 
> changes.
> But the conditions are always false , because he can't read the from the 
> parameter fields. This patch  make the service read the parameters in the 
> right way.
> Have a good day
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to