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

When importing a contact record containing a multiple choice checkbox field, the number of ‘Options Per Line’ in the custom field definition also limits the number of options that can be imported for that field.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.25, 4.7.27
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      One of my WordPress/CiviCRM websites has a custom checkbox field with 13 options, with the number of ‘Options Per Line’ set to 3.  When I tried to import data for this custom field, CiviCRM would only import the first three options specified in the .csv import file, as if the number of items per line was also limiting the number of options CiviCRM would import.

      A workaround is to temporarily set the number of items per line equal or greater than the total number of options while importing.  Once I realized what was happening, I changed the ‘Options Per Line’ setting in the custom field definition to 14, and successfully imported all option values even when all 13 were included.

      I've only tested this on recent versions of CiviCRM for WordPress.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              DonAlejandro Don Alejandro
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: