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

Random essay questions are broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.2
    • 2.0.1
    • Questions
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Steps to reproduce:

      1. Create a new quiz.
      2. Create a new category "Essay questions".
      3. Create two essay questions in that category.
      4. Add one random question to the quiz, picking from that category.
      5. Preview the quiz.
      6. Type an answer into the HTML editor that includes pressing ENTER.
      7. Click next.

      Actual result:

      Can not find wrapped question random30-
      asdf

      asdf

      Notice: Trying to get property of non-object in /Users/tim/Documents/workspace/moodle_head/question/type/random/questiontype.php on line 249
      Wrapped state missing

      Notice: Trying to get property of non-object in /Users/tim/Documents/workspace/moodle_head/question/type/random/questiontype.php on line 264

      Notice: Undefined index: in /Users/tim/Documents/workspace/moodle_head/question/type/random/questiontype.php on line 264

      Fatal error: Call to a member function get_question_options() on a non-object in /Users/tim/Documents/workspace/moodle_head/question/type/random/questiontype.php on line 265

            timhunt Tim Hunt
            timhunt Tim Hunt
            Jérôme Mouneyrac Jérôme Mouneyrac
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.