CRM-6848 Price Set Export returns no data

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.2.4
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Using a custom search "Price Set Details for Event Participants" /civicrm/contact/search/custom?csid=9&reset=1
      Gives the expected participants (rows) and fields (columns) but the data is all zeroes.

      Reproduced on demo at https://drupal.demo.civicrm.org/civicrm/contact/search/custom?_qf_Custom_display=true&qfKey=e52ea1dcc0efa7b057514453937aaa93_7

      This has been reported before in an earlier version http://issues.civicrm.org/jira/browse/CRM-3707 and fixed, seems it was an upgrade issue and that it may have been broken again in a subsequent upgrade.

      This bug makes price sets problematic as the info for eg. number of optional dinners required can not be extracted from CiviCRM.

        Attachments

          Activity

          [CRM-6848] Price Set Export returns no data
          Donald A. Lobo added a comment -

          seems like that price set etc got reset last nite:

          http://drupal.demo.civicrm.org/civicrm/contact/search/custom?csid=9&reset=1

          can u recreate it and we can take a quick look at it and see if we can figure it out. alternatively if u can investigate and attach a patch that fixes it, it would be great

          Neil Adair added a comment -

          Recreated on the Drupal demo http://drupal.demo.civicrm.org

          Event - Conference with dinner
          Price Set - Price set export

          Set PayPal Standard with test@example.com but used "Pay later" option. Registered and completed the transactions for Test Attendee1 and Test Attendee2

          Custom search at
          http://drupal.demo.civicrm.org/civicrm/contact/search/custom?_qf_Custom_display=true&qfKey=e6afeb0137792633243b7e03d11d386d_1278

          I did look at PriceSet.php but could see nothing obvious and it's well beyond my coding ken. I'd be happy to test a patch, I have cloned a test site for my client.

          Neil Adair added a comment -

          I tried the fix described in

          https://fisheye2.atlassian.com/viewrep/CiviCRM/branches/v3.2/CRM/Contact/Form/Search/Custom/PriceSet.php?r1=28934&r2=29722

          and it worked for me

          one changed character, code is brutal!

          This is on CiviCRM 3.2.3 Multilanguage install

          Thank you!

          Rahul Bile added a comment -

          checked in r-29737

            People

            • Assignee:
              Rahul Bile
              Reporter:
              Neil Adair

              Dates

              • Created:
                Updated:
                Resolved: