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

Error 500 - Call to undefined method CRM_Contact_Import_Parser::formatCustomDate

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.25
    • Fix Version/s: 4.7.27
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      When performing a Contact import for a CSV which has a date field mapped to import to a custom date field, the following error is thrown and causes CiviCRM to white screen - error 500.

      PHP Fatal error:  Call to undefined method CRM_Contact_Import_Parser::formatCustomDate() in /home/www/public_html/sites/all/modules/civicrm/CRM/Contact/Import/Parser.php on line 847, referer: https://website.domain.com/civicrm/import/contact?_qf_Preview_display=true&qfKey=o83u4ruekruhvwk7hv37i3434
      

      Steps to reproduce:

      1. Create custom data, date field for contact
      2. Create CSV file with data: first name, last name and date value (dd/mm/yyyy)
      3. Perform import
      4. Error 500

      Agileware Ref SUP-2637, CIVICRM-542

        Attachments

          Activity

            People

            • Assignee:
              agileware Agileware
              Reporter:
              agileware Agileware
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: