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

Lesson true/false questions should support rich html answers by default

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide

      1.Run unit and behat test for Lesson Module.

      As a teacher
      1. Create a new lesson.
      2. Add a Multiple choice question
      3. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a picture.
      4. Add a Matching question
      5. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a picture.
      6. Add a true/false question
      7. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a video.
      8. Preview each of the question pages in your lesson and verify that the picture or video files are displayed.

      Show
      1.Run unit and behat test for Lesson Module. As a teacher 1. Create a new lesson. 2. Add a Multiple choice question 3. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a picture. 4. Add a Matching question 5. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a picture. 6. Add a true/false question 7. As part of the correct answer, make sure that the HTML editor is displayed by default and that you can add a video. 8. Preview each of the question pages in your lesson and verify that the picture or video files are displayed.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull Master Branch:
      MDL-48963_m29v5

      Description

      Currently the multiple choice and matching questions are the only question types by default that allow the teacher to add rich html to the possible answers.
      see (https://github.com/moodle/moodle/blob/master/mod/lesson/locallib.php#L790)

      All other question types default the answer format to "Moodle auto-format" While this makes sense for most question formats, true/false behaves similar to multiple choice and should also support this option.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              sbourget Stephen Bourget
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Dan Poltawski
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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