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

display bugs in multianswer/cloze question

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.7
    • 3.7
    • Questions
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65570-master
    • Hide
      1. Log in as admin and go to a course.
      2. Create a quiz or use an existing one, but change the Question behaviour to Interactive with multiple tries
      3. Edit the Quiz and click Add and then click a new question.
      4. Select Embedded answers (Cloze) and enter the following text on the question text field:

        Match the following cities with the correct state: * San Francisco: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Tucson: {1:MULTICHOICE:California#Wrong~%100%Arizona#OK} * Los Angeles: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Phoenix: {1:MULTICHOICE:%0%California#Wrong~=Arizona#OK} The capital of France is {1:SHORTANSWER:%100%Paris#Congratulations! ~%50%Marseille#No, that is the second largest city in France (after Paris).~*#Wrong answer. The capital of France is Paris, of course.}.
        

        Enter a question name, feedback and click Decode and verify the question text button.. then save.

      5. Preview quiz and fill all the fields... on the last field, answer a wrong value "London" for example.
      6. Click Check button.
      7. Hover onto the wrong field.
      8. Make sure it displays the feedback message when hovering.
      9. Now go to the course administration > Question bank.
      10. Find the Embedded answers question you have created and click Preview icon
      11. Make sure you can collapse/expand all options and Technical information sections.
      Show
      Log in as admin and go to a course. Create a quiz or use an existing one, but change the Question behaviour to Interactive with multiple tries Edit the Quiz and click Add and then click a new question . Select Embedded answers (Cloze) and enter the following text on the question text field: Match the following cities with the correct state: * San Francisco: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Tucson: {1:MULTICHOICE:California#Wrong~%100%Arizona#OK} * Los Angeles: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Phoenix: {1:MULTICHOICE:%0%California#Wrong~=Arizona#OK} The capital of France is {1:SHORTANSWER:%100%Paris#Congratulations! ~%50%Marseille#No, that is the second largest city in France (after Paris).~*#Wrong answer. The capital of France is Paris, of course.}. Enter a question name, feedback and click Decode and verify the question text button.. then save. Preview quiz and fill all the fields... on the last field, answer a wrong value "London" for example. Click Check button. Hover onto the wrong field. Make sure it displays the feedback message when hovering. Now go to the course administration > Question bank. Find the Embedded answers question you have created and click Preview icon Make sure you can collapse/expand all options and Technical information sections.

    Description

      Moodle 3.7beta (Build: 20190511)

      bug #1

      when previewing a multianswer question, the various fields cannot be expanded or collapsed; the Technical information field is empty

      bug #2

      in previous versions the feedback messages could be displayed upon hovering as below

      in current Moodle 3.7dev+ version no feedback is displayed upon hovering

      Attachments

        Issue Links

          Activity

            People

              lameze Simey Lameze
              rezeau Joseph Rézeau
              Shamim Rezaie Shamim Rezaie
              Jun Pataleta Jun Pataleta
              Anna Carissa Sadia Anna Carissa Sadia
              Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 20 minutes
                  4h 20m