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

Empty quiz section name behaves like new page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.10.4, 3.11.1
    • 3.10.8, 3.11.4
    • Quiz
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71785_311
    • MDL-71785_master
    • Hide

      If you are testing with the first commit only :

      • Import the quiz : quiz_mdl-71785.mbz
      • As a student, start the quiz (or you can preview it as a teacher)
      • Look in the Quiz navigation.
        • The 2nd section (with questions 3 and 4) should have an empty title
        • The 4th section (with questions 7 and 8) should have "(Untitled section)"
      • Answer some questions and click on "Finish attempt"
      • The "Summary of attempt" page appears :
        • there should be an empty heading before question 2
        • the table should have an heading "(Untitled section)" before question 7
      Show
      If you are testing with the first commit only : Import the quiz : quiz_mdl-71785.mbz As a student, start the quiz (or you can preview it as a teacher) Look in the Quiz navigation. The 2nd section (with questions 3 and 4) should have an empty title The 4th section (with questions 7 and 8) should have "(Untitled section)" Answer some questions and click on "Finish attempt" The "Summary of attempt" page appears : there should be an empty heading before question 2 the table should have an heading "(Untitled section)" before question 7

    Description

      This was briefly discussed here https://moodle.org/mod/forum/discuss.php?d=422343 and seems to be a bug : if the section name in a quiz is empty, it behaves like a new page, not a new section.

      This does not concern a title in which we voluntarily put   and which behaves relatively normally.

      Here is an example of a quiz with 4 sections (2 questions in each section) :

       

      The actual navigation is like this :

       

      We can see that questions 7 and 8 appear as if they were in section 3 instead of section 4.

      Here is my proposed solution :

       

      We can now see a dimmed (Untitled section) and questions 7 and 8 appear in this 4th section.

      Attachments

        1. image-2021-05-27-14-08-26-358.png
          14 kB
          Marie-Eve Lévesque
        2. image-2021-05-27-14-08-34-930.png
          12 kB
          Marie-Eve Lévesque
        3. image-2021-05-27-14-08-42-402.png
          71 kB
          Marie-Eve Lévesque
        4. MDL-71785_Test Passed.png
          160 kB
          Gladys Basiana
        5. quiz_mdl-71785.mbz
          8 kB
          Marie-Eve Lévesque

        Activity

          People

            levemar Marie-Eve Lévesque
            levemar Marie-Eve Lévesque
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Nov/21

              Time Tracking

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