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

Cannot import custom field type Country

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.10, 4.7
    • Fix Version/s: 4.7.8, 4.6.32
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Major (incompatible API change)
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      I have a custom field called "Nationality" of data type "Country".

      It doesn't accept any kind imported values.

      I tried with "United States" and "US", it doesn't give an error but it doesn't import anything, the field in the db is still 0.

      I tried with the country ID "1228" but it shows an error "invalid value".

      Tried also in the online demo but when I try to import I get the following error: Fatal error: Uncaught CRM_Core_Exception: [0: Transaction integrity error: Expected to find active frame thrown in /srv/buildkit/build/dmaster/sites/all/modules/civicrm/Civi/Core/Transaction/Mana‌​ger.php on line 107

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              andreacaselli Andrea Caselli
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m