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

Customised question numbers with long text are displayed out of the box

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2
    • 4.2
    • Quiz
    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • Hide

      Avoid setting stupid question numbers

      Show
      Avoid setting stupid question numbers
    • Hide
      1. Create a quiz.
      2. Add three questions.
      3. Within the question overview page customise the question numbers as follows
        1. Question 1 => 1.1a
        2. Question 2 => Must fix 4.2
        3. Question 3 remains unchanged
      4. Preview the quiz.
      5. Verify that the very long numbers don't break the display.
      Show
      Create a quiz. Add three questions. Within the question overview page customise the question numbers as follows Question 1 => 1.1a Question 2 => Must fix 4.2 Question 3 remains unchanged Preview the quiz. Verify that the very long numbers don't break the display.

      Steps to reproduce

      1. Create a quiz with, at least, one question.
      2. Set the number to something long (For instance, 1234567890123456).
      3. Preview the quiz (or attempt it as a student).
      4. Check the customised question number is displayed out of the box on the left of the question and also in the Quiz navigation block:

        1. quizcustomisednumber.png
          65 kB
          Sara Arjona (@sarjona)
        2. image-2023-03-29-15-11-26-163.png
          5 kB
          Tim Hunt
        3. image-2023-03-29-15-12-05-096.png
          7 kB
          Tim Hunt
        4. image-2023-04-18-22-24-37-989.png
          3 kB
          Tim Hunt
        5. image-2023-04-18-22-25-19-648.png
          3 kB
          Tim Hunt
        6. bstooltip.png
          35 kB
          Jun Pataleta
        7. MDL-77785.png
          97 kB
          Ron Carl Alfon Yu

            timhunt Tim Hunt
            sarjona Sara Arjona (@sarjona)
            Glyn (Mathew) May Glyn (Mathew) May
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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