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

Occasional report order_by problems if array doesn't clear

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.11, 4.5.5
    • Fix Version/s: 4.6
    • Component/s: CiviReport
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      CRM_Report_Form::storeOrderByArray() walks through the tables to see if they have any fields available for sorting. If a table has no fields, however, the $fields variable still has the values from the previous table, so you can get mismatched tables and fields in some circumstances, causing a fatal database error.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              andrewhunt Andrew Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: