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

Unable to import multi-value custom field

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.16
    • Fix Version/s: 4.6.18
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      If a custom field set is used for specific Contact Type (not for all individual), /civicrm/import/custom throws an error after mapping (Step 3 of 4) and unable to import.

      Strict warning: Declaration of CRM_Custom_Import_Parser::run() should be compatible with CRM_Contact_Import_Parser::run($tableName, &$mapper, $mode = 2, $contactType = 1, $primaryKeyName = '_id', $statusFieldName = '_status', $onDuplicate = 1, $statusID = NULL, $totalRowCount = NULL, $doGeocodeAddress = false, $timeout = 30, $contactSubType = NULL, $dedupeRuleGroupID = NULL) in require_once() (line 35 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Custom/Import/Parser.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1166 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1177 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1192 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1193 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1195 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1234 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1247 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1166 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1177 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1192 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1193 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1195 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1234 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1247 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1166 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1177 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1192 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1193 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1195 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1200 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1222 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1234 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      Notice: Undefined offset: 13 in CRM_Contact_Import_Parser_Contact::isErrorInCustomData() (line 1247 of /srv/buildkit/build/d46/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php).
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              natsuki Natsuki Pope
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: