You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2010/06/14 20:42:16 UTC

[jira] Commented: (OFBIZ-3703) updatePartyContactMech service creates new record while contactMechId is unchange.

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