CRM-13495 notice errors on import

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.5
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      I got quite a few of the following during an import:
      Notice: Undefined index: street_address in CRM_Import_Parser_Contact->createContact() (line 1677 of /Users/josephmurray/GoogleDrive/Sites/campaigntool/html/sites/all/modules/civicrm/CRM/Import/Parser/Contact.php).

      The line in question seems to be attempting to determine if the index exists or not:
      if ($address['street_address'] && (!CRM_Utils_Array::value('street_number', $address) || !CRM_Utils_Array::value('street_name', $address))) {

        Attachments

          Activity

          [CRM-13495] notice errors on import
          Coleman Watts added a comment -

          I already fixed this when reorganizing the import code.

            People

            • Assignee:
              Coleman Watts
              Reporter:
              Joe Murray

              Dates

              • Created:
                Updated:
                Resolved: