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

Missing "next" on fourth page of users navigation in messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.5, 3.0, 3.1
    • Fix Version/s: 2.9.6, 3.0.4
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      1. Make a course and enrol some students (at least 4).
      2. Navigate to "Current course" > "Participants".
      3. Modify the URL by adding the param perpage=1
      4. Verify it works as expected.
      5. Change perpage to some different values, verify it still works OK.
      6. Modify the file lib/outputcomponents.php - change paging_bar's $maxdisplay propery to 4.
      7. Go back to the list and make sure that when you are on page 4 you still see the "Next" link.
      8. Try the same thing but with changing $maxdisplay to 3, 2 and 1. Verify page 3, 2 and 1 (respectively) display the "Next" link.
      Show
      Make a course and enrol some students (at least 4). Navigate to "Current course" > "Participants". Modify the URL by adding the param perpage=1 Verify it works as expected. Change perpage to some different values, verify it still works OK. Modify the file lib/outputcomponents.php - change paging_bar 's $maxdisplay propery to 4. Go back to the list and make sure that when you are on page 4 you still see the "Next" link. Try the same thing but with changing $maxdisplay to 3, 2 and 1. Verify page 3, 2 and 1 (respectively) display the "Next" link.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-52388-master

      Description

      Hi,
      our student noticed a very strange bug. When navigating users list in messages only on page 4 the link "next" disappears (URI: .../index.php?user1=714&user2=470&viewing=course_7&page=3).
      I see no errors/warnings ir php log.

        Attachments

        1. bad.png
          bad.png
          74 kB
        2. ok.png
          ok.png
          63 kB

          Issue Links

            Activity

              People

              Assignee:
              cameron1729 cameron1729
              Reporter:
              emanuelis Emanuelis Norbutas
              Peer reviewer:
              cameron1729
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/May/16