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

Constituent Report (Detail ) report throws SQL error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.4
    • Component/s: CiviReport
    • Labels:
      None

      Description

      When using the Constituent Report (Detail ) report in the sandbox ( url: http://drupal.demo.civicrm.org/civicrm/report/instance/2&reset=1 ) I get the following error message:

      Sorry. A non-recoverable error has occurred.

      DB Error: no such field

      Error Details
      Database Error Code: Unknown column 'participant_civireport.participant_status_id' in 'field list', 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 participant_civireport.contact_id as civicrm_participant_contact_id, participant_civireport.id as civicrm_participant_participant_id, participant_civireport.event_id as civicrm_participant_event_id, participant_civireport.participant_status_id as civicrm_participant_participant_status_id, participant_civireport.role_id as civicrm_participant_role_id, participant_civireport.register_date as civicrm_participant_participant_register_date, participant_civireport.fee_level as civicrm_participant_fee_level, participant_civireport.fee_amount as civicrm_participant_fee_amount FROM
      civicrm_contact contact_civireport
      INNER JOIN civicrm_participant participant_civireport
      ON contact_civireport.id = participant_civireport.contact_id

      WHERE contact_civireport.id IN ( 1,2,3,4,5,6,7,8,9,10 )
      GROUP BY contact_civireport.id,participant_civireport.id [nativecode=1054 ** Unknown column 'participant_civireport.participant_status_id' in 'field list']
      [type] => DB_Error
      [user_info] => SELECT participant_civireport.contact_id as civicrm_participant_contact_id, participant_civireport.id as civicrm_participant_participant_id, participant_civireport.event_id as civicrm_participant_event_id, participant_civireport.participant_status_id as civicrm_participant_participant_status_id, participant_civireport.role_id as civicrm_participant_role_id, participant_civireport.register_date as civicrm_participant_participant_register_date, participant_civireport.fee_level as civicrm_participant_fee_level, participant_civireport.fee_amount as civicrm_participant_fee_amount FROM
      civicrm_contact contact_civireport
      INNER JOIN civicrm_participant participant_civireport
      ON contact_civireport.id = participant_civireport.contact_id

      WHERE contact_civireport.id IN ( 1,2,3,4,5,6,7,8,9,10 )
      GROUP BY contact_civireport.id,participant_civireport.id [nativecode=1054 ** Unknown column 'participant_civireport.participant_status_id' in 'field list']
      [to_string] => [db_error: message="DB Error: no such field" code=-19 mode=callback callback=CRM_Core_Error::handle prefix="" info="SELECT participant_civireport.contact_id as civicrm_participant_contact_id, participant_civireport.id as civicrm_participant_participant_id, participant_civireport.event_id as civicrm_participant_event_id, participant_civireport.participant_status_id as civicrm_participant_participant_status_id, participant_civireport.role_id as civicrm_participant_role_id, participant_civireport.register_date as civicrm_participant_participant_register_date, participant_civireport.fee_level as civicrm_participant_fee_level, participant_civireport.fee_amount as civicrm_participant_fee_amount FROM
      civicrm_contact contact_civireport
      INNER JOIN civicrm_participant participant_civireport
      ON contact_civireport.id = participant_civireport.contact_id

      WHERE contact_civireport.id IN ( 1,2,3,4,5,6,7,8,9,10 )
      GROUP BY contact_civireport.id,participant_civireport.id [nativecode=1054 ** Unknown column 'participant_civireport.participant_status_id' in 'field list']"]
      )

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              sgladstone Sarah Gladstone
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: