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

Cannot add question directly to quiz activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      MAMP, Moodle 2RC2 build 20101124
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Im unable to add a question directly to a quiz activity ie not from the question bank. Error, debug info below. Steps to replicate issue:

      Login as editing teacher to a course
      Editing on
      Add an activity > Quiz > Add a Question... > Choose a question type to add > Next


      Neither a question id, nor a category id and question type, was specified.

      More information about this error

      Stack trace:
      line 421 of /lib/setuplib.php: moodle_exception thrown
      line 121 of /question/question.php: call to print_error()

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            chadsta Chad Outten
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10