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

Can't save a reserved dedupe rule

    Details

    • Type: Bug
    • Status: In Quality Assurance
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.19
    • Fix Version/s: 4.7.24
    • Component/s: Core CiviCRM
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      Reserved dedupe rules have a threshold of zero, which CRM-20226 now blocks.  I support the goal of CRM-20226, but we need to account for the reserved rules with their hardcoded SQL.  I just saw a case where someone tried reverting to the default Individual Unsupervised rule but couldn't.

      To replicate:

      • Go to Contacts menu » Find and Merge Duplicate Contacts.
      • Click "Edit Rule" on a reserved rule.
      • Click "Save".  You'll fail validation.

      I'll submit a PR to fix this.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: