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

"Undefined index:" displayed when creating report. Report displays but cannot be used as a dashlet.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hello,

      I first suspected that these were some kind of installation problem, but Hershel suggested posting them as an issue
      http://forum.civicrm.org/index.php/topic,22004.msg92260.html#msg92260

      I hope to create a duplicate installation on another machine to verify that it is not an installation problem and to practice recreating data from a backup. I'll post if the issue is resolved or repeated.

      SYSTEM:
      Ubuntu 11.1, Drupal 7, CiviCRM 4.0.0 (according to the "powered by" footer)

      PROBLEM #1:
      When I select Reports-->Current Employer Report, before the results, I see many rows that look like this:

      Notice: Undefined index: type in CRM_Report_Form_Contact_CurrentEmployer->select() (line 170 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Report/Form/Contact/CurrentEmployer.php).
      Notice: Undefined index: operatorType in CRM_Report_Form_Contact_CurrentEmployer->where() (line 209 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Report/Form/Contact/CurrentEmployer.php).
      Notice: Undefined index: civicrm_employer_organization_name in CRM_Report_Form_Contact_CurrentEmployer->alterDisplay() (line 281 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Report/Form/Contact/CurrentEmployer.php).
      Notice: Undefined index: civicrm_employer_id in CRM_Report_Form_Contact_CurrentEmployer->alterDisplay() (line 281 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Report/Form/Contact/CurrentEmployer.php).

      PROBLEM #2 (related?)
      When I try to turn a report instance into a dashlet. The report displays correctly but shows the error below. The dashlet shows the error but does not display anything.

      Notice: Undefined index: label in CRM_Core_BAO_Navigation::add() (line 110 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Core/BAO/Navigation.php).
      Notice: Undefined index: permission in CRM_Core_BAO_Navigation::add() (line 116 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Core/BAO/Navigation.php).

      POSSIBLE PROBLEM #3
      Given this error, I'm not sure if my reports are displaying correctly. The column headers are static and cannot be used to click-to-sort the data.

      thank you for all your work in producing and improving this software.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              davideps David Epstein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: