CRM-2885 Import completes without warning but doesn't import records where data to be imported uses "Yes" or "No" instead of "1" or "0" for fields of CiviCRM type "Yes or No"

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      This error occurs when you try to import a record into CiviCRM that has a field which contains "Yes" or "No", matched against a CiviCRM field that is of the type "Yes or No".

      The Import is reported as having completed successfully but the record will not actually be imported.

      Changing a "Yes" to 1 and a "No" to 0 resolves the issue, but the Import engine should recognise "Yes" and "No" in all case variants and do this for you.

        Attachments

          Activity

          [CRM-2885] Import completes without warning but doesn't import records where data to be imported uses "Yes" or "No" instead of "1" or "0" for fields of CiviCRM type "Yes or No"
          Andrew Perry added a comment -

          I should add that this was for an Organization import.

          Bharat Shukla added a comment -

          fixed in rev-14513

          Sunil Pawar added a comment -

          Verified in r18931

            People

            • Assignee:
              Sunil Pawar
              Reporter:
              Andrew Perry

              Dates

              • Created:
                Updated:
                Resolved: