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

Fatal error on multiple custom field import

    Details

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

      Description

      At

      civicrm/import/custom

       

      I get

      CiviCRM_API3_Exception: "'Import Multi value custom data' is not a valid option for field mapping_type_id"

       

      This is a fairly recent regression due to a code change that assumed that the contract between mapping_type_id & actual types was respected. I propose to fix but creating the mapping_types on the fly in the import classes. As far as I know only this class is affected but it feels safe to me & by putting in it's own function this doesn't seem crazy-hacky-nasty

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: