Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6372

Statistics are not displayed when test contains questiontype algebra

    XMLWordPrintable

    Details

    • Plugin Version:
      2016012400
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE

      Description

      how to reproduce
      -------------------------
      1) create a test including algebra question type
      2) solve test as a student
      3) as a teacher click on results/statistics
      --> error message is shown
      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined property: qtype_algebra_parser_bracket::$_sign in /data_1/www/html/moodle/question/type/algebra/parser.php on line 1339

      Notice: Undefined offset: 0 in /data_1/www/html/moodle/question/classes/statistics/responses/analysis_for_subpart.php on line 84

      Fatal error: Call to a member function count_response() on a non-object in /data_1/www/html/moodle/question/classes/statistics/responses/analysis_for_subpart.php on line 104

      remark
      --------------
      Moodle 3.0.4

        Attachments

          Activity

            People

            Assignee:
            jmvedrine Jean-Michel Vedrine
            Reporter:
            jlanz Jonas Lanz
            Participants:
            Component watchers:
            Roger Moore
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Sep/17