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 Bug
    • Status: Closed
    • Priority: Major 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

          Activity

          Hide
          Stephen Porter added a comment -

          Similar to the issue reports "MDL-30190" that was resolved with 2.2

          Show
          Stephen Porter added a comment - Similar to the issue reports " MDL-30190 " that was resolved with 2.2
          Hide
          Stephen Porter added a comment -

          Screenshot

          Show
          Stephen Porter added a comment - Screenshot
          Hide
          Tim Hunt added a comment -

          Oops! That was quite a bad bug. I am surprised that no-one else has noticed. Thanks for the report. Fix submitted for integration.

          Show
          Tim Hunt added a comment - Oops! That was quite a bad bug. I am surprised that no-one else has noticed. Thanks for the report. Fix submitted for integration.
          Hide
          Dan Poltawski added a comment -

          Going to take this and test it myself.

          Show
          Dan Poltawski added a comment - Going to take this and test it myself.
          Hide
          Dan Poltawski added a comment -

          As usual I had problem finding the complete report!

          Tim, out of interest when you say '3. To to that user's activity report, and switch to the Complete report.', what navigation route do you go to get there? I went via course participants, but that is not natural to me so I always forget how to get to it

          Show
          Dan Poltawski added a comment - As usual I had problem finding the complete report! Tim, out of interest when you say '3. To to that user's activity report, and switch to the Complete report.', what navigation route do you go to get there? I went via course participants, but that is not natural to me so I always forget how to get to it
          Hide
          Dan Poltawski added a comment -

          Integrated, thanks.

          Show
          Dan Poltawski added a comment - Integrated, thanks.
          Hide
          Dan Poltawski added a comment -

          Everything looking good here.

          One thing I've noticed whilst testing. Is that when I create an essay question with editor and file picker doesn't seem to be brining up a file-picker. I think i'm doing something stupid/its not related to this, so passing.

          Show
          Dan Poltawski added a comment - Everything looking good here. One thing I've noticed whilst testing. Is that when I create an essay question with editor and file picker doesn't seem to be brining up a file-picker. I think i'm doing something stupid/its not related to this, so passing.
          Hide
          Tim Hunt added a comment -

          Dan, Making the user's complete report easy to find is not a quiz thing. It is a standard Moodle feature that requires certain callback functions in mod/quiz/lib.php. I just know about those functions.

          Should you create a new MDL about the essay/filepicker thing?

          Show
          Tim Hunt added a comment - Dan, Making the user's complete report easy to find is not a quiz thing. It is a standard Moodle feature that requires certain callback functions in mod/quiz/lib.php. I just know about those functions. Should you create a new MDL about the essay/filepicker thing?
          Hide
          Dan Poltawski added a comment -

          No, I was just wondering if you got to it a different way.

          Show
          Dan Poltawski added a comment - No, I was just wondering if you got to it a different way.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          YEAR!*

          CAF*, TOT!*

          • Your effort amazingly resulted. (unbelievable :-P)
          • Closing as fixed.
          • Tons of thanks.
          Show
          Eloy Lafuente (stronk7) added a comment - YEAR!* CAF*, TOT!* Your effort amazingly resulted. (unbelievable :-P) Closing as fixed. Tons of thanks.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: