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

Importing data with invalid option values

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.7
    • Fix Version/s: Unscheduled
    • Component/s: Import
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      To replicate what I mean, go to (this effects both Civi 4.2.7 and Civi 4.3.x):

      http://sandbox.drupal.civicrm.org/

      Use the CSV I've attached and do an import, if you use the label to import, it says it's successful. However it's not a valid value and the record doesn't update to a valid value.

      However if you use a value such as "SocJus", the import all works correctly.

      I feel like the import should either give you an error, because the multiple choice value you entered couldn't be matched, or it should accept the label text if possible. Currently we've had a lot of invalid data imported that users thought had worked, but actually the multiple choice entries they had imported were not valid.

        Attachments

        1. changes_final.patch
          0.9 kB
          Nishant Bhorodia
        2. test.csv
          0.0 kB
          Thom Wilhelm

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomwilhelm Thom Wilhelm
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: