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

Multiple choice display of correct answers badly laid out

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Download the attached "38_test_quiz.xml".
      2. Log in as a teacher.
      3. Create a quiz called "39 quiz".
      4. Create a multiple choice question and enable "multiple answers allowed", then set one incorrect and three correct answers.
      5. Add a question created in Moodle 3.8:
        1. In the actions menu > Question bank > Import.
        2. Select "Moodle XML format".
        3. Choose your downloaded copy of the 38_test_quiz.xml file.
        4. Press "Import" and "Continue".
      6. Return to the "39 quiz", choose "Add" and "from question bank".
      7. Choose category "Default for te1".
      8. Tick "Old quiz question This is a quiz set up in Moodle 3.8".
      9. Press "Add selected questions to the quiz".
      10. Save the quiz.
      11. Log out.

      Testing

      1. Log in as a student in the course.
      2. Attempt the "39 quiz" and submit all and finish.
      3. CONFIRM that in the feedback, in the answers/feedback for each of the two questions, the answers are provided on a single line, in the format: "The correct answers are: [answer1], [answer2], [answer]".
      Show
      Setup Download the attached "38_test_quiz.xml". Log in as a teacher. Create a quiz called "39 quiz". Create a multiple choice question and enable "multiple answers allowed", then set one incorrect and three correct answers. Add a question created in Moodle 3.8: In the actions menu > Question bank > Import. Select "Moodle XML format". Choose your downloaded copy of the 38_test_quiz.xml file. Press "Import" and "Continue". Return to the "39 quiz", choose "Add" and "from question bank". Choose category "Default for te1". Tick "Old quiz question This is a quiz set up in Moodle 3.8". Press "Add selected questions to the quiz". Save the quiz. Log out. Testing Log in as a student in the course. Attempt the "39 quiz" and submit all and finish. CONFIRM that in the feedback, in the answers/feedback for each of the two questions, the answers are provided on a single line, in the format: "The correct answers are: [answer1] , [answer2] , [answer] ".
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-69012-master
    • Story Points:
      3
    • Sprint:
      International 4.0 - Sprint 1, International 4.0 - Sprint 2, International 4.0 - Sprint 3

      Description

      As reported by Nicolas Martignoni in MDLQA-14280, multiple choice correct answers are not positioned correctly. The problem only affects newly created multiple choice questions in 3.9, and not existing questions.

      Steps to reproduce:

      1. Go to the question bank in a course and create a multiple choice question
      2. Complete the required fields and answers and select multiple answers allowed
      3. Save changes then preview the question
      4. Attempt the question then click Submit and finish

      Expected result: The correct answers are on the same line as the text 'The correct answers are:'

      Actual result: The correct answers are listed below the text 'The correct answers are:'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelh Michael Hawkins
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              Simey Lameze
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 56 minutes
                  1h 56m