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

Quiz statistics: Analysis of Responses is not showing for a group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.5, 2.7.2, 2.8
    • Fix Version/s: 2.7.4, 2.8.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. in a course with 2 groups and some students in each group
      2. Create a quiz in separate group mode
      3. Make some attempts for students in each group.
      4. Go to Results Statistics and click on a question to get detailed statistics for this question
      5. Use the group menu to display statistics for a group
      6. Verify there are no fatal errors.
      Show
      in a course with 2 groups and some students in each group Create a quiz in separate group mode Make some attempts for students in each group. Go to Results Statistics and click on a question to get detailed statistics for this question Use the group menu to display statistics for a group Verify there are no fatal errors.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      See https://moodle.org/mod/forum/discuss.php?d=262034

      • in a course with 2 groups and some students in each group
      • Create a quiz in separate group mode
      • Make some attempts for each student
      • Go to Results Statistics and click on a question to get detailed statistics for this question
      • Use the group menu to display statistics for a group
      • The is now broken and if debugging is set you get
        Fatal error: Call to a member function has_subparts() on a non-object in xxx/mod/quiz/report/statistics/statistics_question_table.php on line 79
        The problem is that when question_setup is called the $responseanalysis parameter is not an object but a boolean equal to false.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            jmvedrine Jean-Michel Vedrine
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Sam Hemelryk
            Tester:
            Simey Lameze
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Jan/15