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

Fatal error exporting contributions with campaigns, if campaign name > 16 chars

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.4.7
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None

      Description

      To replicate:

      • Create a campaign and name it "test campaign 1234567" (longer than 16 chars)
      • Create a contribution assigned to that campaign
      • Search for that contribution
      • Select that contribution and export it.
        You'll get a DB error like the one attached.
        The problem is that the campaign ID column in the export is being populated with the campaign name, and the campaign name column is left empty.

      Tested on drupal.demo.civicrm.org

        Attachments

        1. backtrace_CRM.txt
          10 kB
          Rares P
        2. CiviCRM_Contribution_Search(6).csv
          4 kB
          David Greenberg
        3. New Picture.png
          102 kB
          Rares P

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              rares Rares P
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: