[jira] [Commented] (OFBIZ-10396) All party contact mech should be deleted before creating new one

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10396) All party contact mech should be deleted before creating new one

Nicolas Malin (Jira)

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

Suraj Khurana commented on OFBIZ-10396:
---------------------------------------

Yes, +1 to backport.

If required urgently, you can proceed with the required changes, or please re-open, I will proceed as time allows. I am fine with both the options (backporting or not).

Thanks Jacques for reminding this.

> All party contact mech should be deleted before creating new one
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-10396
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10396
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>            Priority: Major
>         Attachments: OFBIZ-10396.patch
>
>
> Currently, everywhere in code base, before creating new party contact mech record, we use 
> deletePartyContactMechPurposeIfExists service to delete old records. But, problem is 
> <first-from-list is used everywhere which only deletes first fetched record.
> All previous records should also gets deleted before creating new party contact mech purpose for a specific purpose type.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)