[ 
https://issues.apache.org/jira/browse/OFBIZ-3703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878691#action_12878691
 ] 

Jacques Le Roux commented on OFBIZ-3703:
----------------------------------------

There was a bug in this: it did not take into account the specific case of 
extension. I have fixed it at r954583  

This bug was in updatePartyContactMech. When you wanted to update only the 
extension of a phone number it did not get stored.  I said "that seems to have 
been introduced" because it's working in stable demo without changes, so I 
guess it's related to the change in this issue

I also remove a useless couple of lines at the beginning of the 
updatePartyContactMech service.

Finally I must say that I find very weird to have extension in PartyContactMech 
entity. It would be certainly more logical to have in TelecomNumber. Is it 
really used for anything else than phone number extension?

> updatePartyContactMech service creates new record while contactMechId is 
> unchange.
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-3703
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3703
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>            Reporter: Arun Patidar
>            Assignee: Ashish Vijaywargiya
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3703.patch, OFBIZ-3703.patch
>
>
> updatePartyContactMech service should not expire old record and create new 
> record when contactMechId is unchange.

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