Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-49843

Fatal error occurs when viewing report page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: Reports
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin.
      2. browse to "My profile" in the user menu (top right hand corner).
      3. Click on any of reports (besides 'Browser sessions') and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report.
      4. Make sure that the breadcrumb starts off as [Home ► Dashboard ► My profile ► Reports ►[Report name]].
      5. Navigate to a student's profile.
      6. Click on any of reports and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report.
      7. Make sure that the breadcrumb starts off as [Home  ► LL  ► Participants  ► [User's name]  ► Reports  ► [Report name]].
      8. Go to the student's full profile.
      9. Click on any of reports and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report.
      10. Make sure that the breadcrumb starts off as [Home  ► Users  ► [User's name]  ► Reports  ► [Report name]].
      Show
      Log in as an admin. browse to "My profile" in the user menu (top right hand corner). Click on any of reports (besides 'Browser sessions') and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report. Make sure that the breadcrumb starts off as [Home ► Dashboard ► My profile ► Reports ► [Report name] ]. Navigate to a student's profile. Click on any of reports and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report. Make sure that the breadcrumb starts off as [Home  ► LL  ► Participants  ► [User's name]  ► Reports  ► [Report name] ]. Go to the student's full profile. Click on any of reports and check that you don't get the error "Call to a member function add() on a non-object" but instead see the report. Make sure that the breadcrumb starts off as [Home  ► Users  ► [User's name]  ► Reports  ► [Report name] ].
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-49843-master
    • Sprint:
      Team '; drop tables Sprint 6

      Description

      1. Log in as an admin.
      2. Click on the picture in the top right then 'My profile'.
      3. Click on any of reports (besides 'Browser sessions') and you will get the error "Call to a member function add() on a non-object".

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15