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.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2
    • Quiz, Reports
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • 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.

    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

      Attachments

        Activity

          People

            timhunt Tim Hunt
            sporter@nts.edu Stephen Porter
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10/Sep/12