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

Question idnumber displayed unescaped in "Add from question bank" modal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9.7, 3.10.4
    • 3.9.5
    • Quiz
    • MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • Hide
      1. Login as admin
      2. Create a new course
      3. Navigate to course question bank
      4. Create a new True/False question (the type isn't important)
        1. Question name: Q1
        2. Question text: Anything
        3. ID number: x</v
      5. Navigate back to course
      6. Create a quiz
      7. Press Edit quiz to start adding questions
      8. From the Add action menu click on from question bank
      9. Confirm Q1 question idnumber is displayed correctly as q</v
      Show
      Login as admin Create a new course Navigate to course question bank Create a new True/False question (the type isn't important) Question name: Q1 Question text: Anything ID number: x</v Navigate back to course Create a quiz Press Edit quiz to start adding questions From the Add action menu click on from question bank Confirm Q1 question idnumber is displayed correctly as q</v

      Following on from MDL-71009, it looks like a small case was missed where question idnumbers are displayed unescaped on output in the "Add from the question bank at the end" modal when adding quiz questions from the question bank

        1. MDL-71215.jpg
          7 kB
          Anna Carissa Sadia

            pholden Paul Holden
            pholden Paul Holden
            Tim Hunt Tim Hunt
            Victor Déniz Falcón Victor Déniz Falcón
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.