Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10396

All party contact mech should be deleted before creating new one

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                suraj.khurana Suraj Khurana
                Reporter:
                suraj.khurana Suraj Khurana
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: