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

notice in statistics graph causes graph not to load when all students have same zero grade for all questions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6, 2.7
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      Make sure your Moodle is displaying developer debug messages.

      Create a quiz in a course with one or more questions.

      Log in as two different students and attempt the quiz, make sure to get all questions wrong.

      Go to Results -> Statistics in the Quiz Admin menu.

      Before applying patch you will not see a graph just a broken image icon. And there will be notices in your apache log and you will also see the same notices if you right click on the broken image icon and open the image url.

      After patch the graph will show up.

      Show
      Make sure your Moodle is displaying developer debug messages. Create a quiz in a course with one or more questions. Log in as two different students and attempt the quiz, make sure to get all questions wrong. Go to Results -> Statistics in the Quiz Admin menu. Before applying patch you will not see a graph just a broken image icon. And there will be notices in your apache log and you will also see the same notices if you right click on the broken image icon and open the image url. After patch the graph will show up.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43079-master-v2

      Description

      Only causes graph not to display when in debug mode, when it will screw up sending headers.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/Jan/14