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

Contribution Import doesn't recognise contribution types

    Details

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

      Description

      Importing a CSV of contributions doesn't function, failing at the last step with error

      I tested the same CSV against our 1.9 install and it imported OK. It appears the issue may be related to the "Contribution Type" containing a space, as the following demonstration shows that of four entries, only the one without a space in the contribution type is imported.

      Here are the steps to reproduce on sandbox with the attached CSV.

      First, ensure you have matching contribution types of "Donation", "Donation when", "Donation when join/renew", and "Donation when join or renew". (Was trying to identify if issue was related to spaces, slashes, or string length.)

      1. http://drupal.demo.civicrm.org/civicrm/contribute/import?reset=1
      2. check row contains headers, individual, date yyyy-mm-dd, continue
      3. column names match column headers - shouldn't have to change next screen, continue
      4. Import now
      5. Note that only the first row (contribution_type=Donation) imports, others fail

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: