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

It is possible to create a short answer question without any answers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.7, 2.8.5
    • Fix Version/s: 2.7.8, 2.8.6
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      • Before applying the patch create a lesson with a shortanswer question page with just a title and a content but no answer
      • Apply the patch
      • Create a lesson with a shortanswer question page and verify that it is now impossible to save it if you don't enter at least one answer
      • Verify that the first lesson is not broken, but that you can't edit the shortanswer question page without creating one answer.
      Show
      Before applying the patch create a lesson with a shortanswer question page with just a title and a content but no answer Apply the patch Create a lesson with a shortanswer question page and verify that it is now impossible to save it if you don't enter at least one answer Verify that the first lesson is not broken, but that you can't edit the shortanswer question page without creating one answer.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:

      Description

      I'm not sure if this is a bug or a "feature" but in the lesson activity a teacher can create a short answer question without specifying any correct answers. I would assume that at least 1 answer would be required.

      Steps to reproduce:
      1. Create a lesson.
      2. Create a short answer question with only a title and the page contents.
      3. Click save page.

        Attachments

          Activity

            People

            Assignee:
            jmvedrine Jean-Michel Vedrine
            Reporter:
            sbourget Stephen Bourget
            Peer reviewer:
            Ankit Agarwal Ankit Agarwal
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Simey Lameze Simey Lameze
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/15