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

Pagination overflows modal window on add random question

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Note1: For 36_STABLE, test it with both clean and boost themes.
      Note 2: For 37_STABLE, test it with both classic and boost themes.

      1. Log in as admin
      2. Create a course or go to an existing course
      3. Go to the course's question bank and create a new question category (call it cat-a)
      4. Import questions from questions-MDK101-11969-Default for MDK101-11969-13980611-2002.xml file into the category cat-a (file format = Moodle XML format)
      5. Go back to the course page and create a quiz
      6. Go to the quiz and from the cog menu, select "Edit  quiz"
      7. Click on the "Add" link and then select "a random question"
      8. Set the category field to "cat-a"
      9. Verify that you see the preview of the questions in the selected category
      10. Verify that you see 5 questions per page
      11. Verify that the number of pages is more than 10, but you only see no more than 10 page boxes and there is a "..." at the end of the numbers
      12. Verify that you can navigate to pages greater than 10 by clicking on the ">" button
      Show
      Note1: For 36_STABLE, test it with both clean and boost themes. Note 2: For 37_STABLE, test it with both classic and boost themes. Log in as admin Create a course or go to an existing course Go to the course's question bank and create a new question category (call it cat-a) Import questions from  questions-MDK101-11969-Default for MDK101-11969-13980611-2002.xml file into the category cat-a (file format = Moodle XML format) Go back to the course page and create a quiz Go to the quiz and from the cog menu, select "Edit  quiz" Click on the "Add" link and then select "a random question" Set the category field to "cat-a" Verify that you see the preview of the questions in the selected category Verify that you see 5 questions per page Verify that the number of pages is more than 10, but you only see no more than 10 page boxes and there is a "..." at the end of the numbers Verify that you can navigate to pages greater than 10 by clicking on the ">" button
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-66293-master
    • Story Points:
      0
    • Sprint:
      Internationals - 3.8 Sprint 6, Internationals - 3.8 Sprint 7

      Description

      `Steps to recreate: 

      1. Make sure that you have a question bank where one of the categories has more than 100 questions. 
      2. Add a new quiz to the course 
      3. Add a random question to the quiz  

      Result: The pagination expands beyond the popup . The GUI is even worse on mobile . 

      Expected result: The gui looks nice . 

      See screenshots below: 

        Attachments

          Activity

            People

            Assignee:
            rezaie9 Shamim Rezaie
            Reporter:
            tuekorsgaard Tue Korsgaard
            Peer reviewer:
            Tim Hunt
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Jennifer Bauzon
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Nov/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 50 minutes
                2d 4h 50m