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

question/type/multianswer: Fix feedback popup displaying prematurely

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5.6, 2.6.3, 2.7
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Steps to reproduce:

      1. Setup the quiz
      a) Create a test quiz activity
      b) Edit quiz settings to match those in the image 'quiz-settings.png'
      c) Edit quiz and create quiz questions of any type on multiple pages.
      d) On the first page, add a question of type 'multianswer', also known as 'Embedded answers (Cloze)'
      e) The multianswer question should resemble 'quiz-question.png', using MULTICHOICE.

      2. Reproduce the error
      a) Preview the quiz.
      b) Do not select any answers and navigate between the pages. Hover over the select box for the MULTICHOICE question.
      c) Select an answer but do not click the Check button
      d) Navigate between pages and return to the page containing the MULTICHOICE question. If you over over the select box, there should be no popup box (this is currently broken – see 'quizproblem.jpg' versus 'nopopup.png')
      e) Check the answer. The popup box should appear as normal (see 'popup.png')

      This is how I set up the MULTICHOICE:

      {1:MULTICHOICE:=concave#correct~convex#incorrect} {1:MULTICHOICE:=diverging#correct~converging#incorrect}
      Show
      Steps to reproduce: 1. Setup the quiz a) Create a test quiz activity b) Edit quiz settings to match those in the image 'quiz-settings.png' c) Edit quiz and create quiz questions of any type on multiple pages. d) On the first page, add a question of type 'multianswer', also known as 'Embedded answers (Cloze)' e) The multianswer question should resemble 'quiz-question.png', using MULTICHOICE. 2. Reproduce the error a) Preview the quiz. b) Do not select any answers and navigate between the pages. Hover over the select box for the MULTICHOICE question. c) Select an answer but do not click the Check button d) Navigate between pages and return to the page containing the MULTICHOICE question. If you over over the select box, there should be no popup box (this is currently broken – see 'quizproblem.jpg' versus 'nopopup.png') e) Check the answer. The popup box should appear as normal (see 'popup.png') This is how I set up the MULTICHOICE: {1:MULTICHOICE:=concave#correct~convex#incorrect} {1:MULTICHOICE:=diverging#correct~converging#incorrect}
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45651-master

      Description

      Feedback popup displayed prematurely if answer not checked yet but user navigates away and returns to the page for multianswer quiz types using adaptive type behaviour.

        Attachments

        1. nopopup.png
          nopopup.png
          145 kB
        2. popup.png
          popup.png
          161 kB
        3. quizproblem.jpg
          quizproblem.jpg
          71 kB
        4. quiz-question.png
          quiz-question.png
          182 kB
        5. quiz-settings.png
          quiz-settings.png
          201 kB

          Issue Links

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                netspot_dbezborodov Damien Bezborodov
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: