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

Adding a question to the last page of a one question-per-page quiz creates a spurious blank page.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0, 2.2
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_22_STABLE

      Description

      New qa.moodle.net "many questions" course is handy (thought the quiz there is strange: it is set to paginate every new question, but contains 5 question on one page as it is).

      Enter there, press "Add random question" button on the end of the page (not in question bank) and see what's happens. I see a question added to this page and a new empty page added below, which doesn't seem correct. The behavour continues if you repaginate quiz: the new question get added to the page, breaking pagination rules, and an empty page is added too.

      Some code on adding question to paginated quiz probably won't updated to catch up with an ability to add question to the particular page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              oa_sychev Oleg Sychev
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: