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

Dedupe rules should be prevented from being saved if Weight Threshold is null or zero

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.16
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      Dedupe rules can currrently be saved with the weight threshold (rule_weight) set to Zero or left empty (NULL)

      I don't think this should be permitted as running a rule with a zero/null value can bring servers to knees and users to tears.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              petednz Peter Davis
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: