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

Unable to delete campaign in CIVICRM 4.1

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.1
    • Component/s: CiviCampaign
    • Labels:
      None

      Description

      Unable to delete campaigns. Replicated the issue on one of my sites in addition to the CIVICRM Demo site.

      Any attempt to delete a campaign generates the following error:

      Database Error Code: Unknown column 'cp.contribution_page_id' in 'where clause', 1054
      Additional Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => -19
      [message] => DB Error: no such field
      [mode] => 16
      [debug_info] =>
      SELECT ccp.title
      FROM civicrm_contribution_page ccp
      JOIN civicrm_pcp cp ON ccp.id = cp.contribution_page_id
      WHERE cp.contribution_page_id = 1 [nativecode=1054 ** Unknown column 'cp.contribution_page_id' in 'where clause']
      [type] => DB_Error
      [user_info] =>
      SELECT ccp.title
      FROM civicrm_contribution_page ccp
      JOIN civicrm_pcp cp ON ccp.id = cp.contribution_page_id
      WHERE cp.contribution_page_id = 1 [nativecode=1054 ** Unknown column 'cp.contribution_page_id' in 'where clause']
      [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="
      SELECT ccp.title
      FROM civicrm_contribution_page ccp
      JOIN civicrm_pcp cp ON ccp.id = cp.contribution_page_id
      WHERE cp.contribution_page_id = 1 [nativecode=1054 ** Unknown column 'cp.contribution_page_id' in 'where clause']"]
      )

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              wmena wjm
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: