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

The "Complete report" under a student's "Activity report" is not displaying once the report reaches a quiz.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2
    • Component/s: Quiz, Reports
    • Labels:
    • Testing Instructions:
      Hide

      1. For a course with some quizzes.

      2. For a student who has attempted some of the quizzes.

      3. To to that user's activity report, and switch to the Complete report.

      4. Verify that there are no fatal errors.

      To ensure the other changes do not cause any regressions:

      5. Go to the Check permissions page in the quiz.

      6. Verify that, as teacher, you can access the quiz reports through the quiz navigation.

      7. If necessary, add an image

      8. Reset the user data for a quiz.

      9. Add a new quiz to a course, and edit an existing one.

      Show
      1. For a course with some quizzes. 2. For a student who has attempted some of the quizzes. 3. To to that user's activity report, and switch to the Complete report. 4. Verify that there are no fatal errors. To ensure the other changes do not cause any regressions: 5. Go to the Check permissions page in the quiz. 6. Verify that, as teacher, you can access the quiz reports through the quiz navigation. 7. If necessary, add an image 8. Reset the user data for a quiz. 9. Add a new quiz to a course, and edit an existing one.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When displaying a complete activity report, the report stops/breaks at the first quiz. Here is the error:

      Warning: require_once(/var/moodle/moodle/lib/mod/quiz/locallib.php): failed to open stream: No such file or directory in /var/moodle/moodle/mod/quiz/lib.php on line 414 Fatal error: require_once(): Failed opening required '/var/moodle/moodle/lib/mod/quiz/locallib.php' (include_path='/var/moodle/moodle/lib/zend:/var/moodle/moodle/lib/pear:.:/usr/share/php:/usr/share/pear') in /var/moodle/moodle/mod/quiz/lib.php on line 414

      Replication steps:

      Create a course
      Create quiz activity in the course somewhere in the middle of the created activities
      Enroll a user view the participants and click on the user that has completed activities
      From the courses navigation open the user's activity reports and click on complete report
      The report is broken at the point of the quiz rather than displaying a complete and proper report

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/12