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

Corrupted report due to Undefined variable: fieldFound in civicrm/CRM/Report/Form.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.2
    • Component/s: CiviReport
    • Labels:
      None

      Description

      Installed CiviCRM 3.1.5 with Joomla 1.5.15 and ran Donor Report (Summary). Report comes up with the wrong values and the following warnings:

      Notice: Undefined variable: fieldFound in civicrm/CRM/Report/Form.php on line 1908

      Notice: Undefined variable: fieldFound in civicrm/CRM/Report/Form.php on line 1916

      Notice: Undefined property: CRM_Report_Form_Contribute_Summary::$_grandFlag in civicrm/CRM/Report/Form.php on line 1441

      Looking at the code, this is no where defined when used as follows in Form.php line 1908:
      if ( !$fieldFound && !empty($this->_params['group_bys'] ) && $this->_customGroupGroupBy ) {

      I suspect that this bug is affecting values on the report, which are wrong by my analysis.

        Attachments

          Activity

            People

            • Assignee:
              ashwini Ashwini Poharkar
              Reporter:
              be55roberts Bradley E Roberts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: