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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0, 2.2
    • None
    • Quiz
    • MOODLE_20_STABLE, MOODLE_22_STABLE
    • Easy

    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

              timhunt Tim Hunt
              oa_sychev Oleg Sychev
              Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: