Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-290

Edit Relationship - Duplicates error thrown when it should not be

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      If you edit an existing relationship for a contact (contact/view/rel?action=update....) - if you do not modify the relationship type (but change the start or end date, for example) - and hit Save - you get a duplicate relationship error and your update is not saved.

      It appears that the code for preventing exact duplicates of a relationship record is NOT excluding the current record from it's comparison set.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: