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

undefined offset and missing index when merging records

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.1
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      When merging recordds I get the following errors:

      Notice: Undefined offset: 13 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 14 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 15 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 19 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 20 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 21 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 22 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 57 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 72 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 73 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 84 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 131 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 166 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 176 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 129 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 138 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 168 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 169 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined offset: 170 in CRM_Dedupe_Merger->findDifferences() (line 533 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Dedupe/Merger.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).
      Notice: Undefined index: customValue in CRM_Contact_Form_Merge->preProcess() (line 417 of /var/aegir/platforms/ducky-ourpowerbase-d7-c4.1/sites/all/modules/civicrm/CRM/Contact/Form/Merge.php).

      I'm preparing a fix in the 4.1 branch for CRM/Contact/Form/Merge.php (this seems completely refactored in head) and I'm backporting the fix from head for CRM/Dedupe/Merger.php to 4.1 branch.

        Attachments

          Activity

            People

            • Assignee:
              jamie Jamie McClelland
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: