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

Unable to scroll beyond 50 conversations in Messages tool

    XMLWordPrintable

    Details

      Description

      DESCRIPTION

      In the Messages tool, it is only possible to scroll through the most recent 50 conversations. 

      In the replication steps below we set up a course with a teacher and 80 students.  For ease of replication, the steps have the teacher initiating a conversation with each student, but imagine the scenario where the students are initiating the conversation.  If more than 50 students send a message to the teacher, the teacher is unable to access all of those unread conversations.  It is possible to search for users to access older conversations, but the teacher has no way of knowing which conversations they need to see.  If a teacher is leading multiple courses with potentially hundreds of unique students enrolled among those courses, this limit of 50 conversations makes it nearly impossible for the teacher to manage conversations with all of his/her students.

      STEPS TO REPLICATE
      NOTE: Instructions use the attached [^bulk_user_core.csv] file.  If you choose to create your own users/courses you can select whatever names you desire.

      1. Create a new course with the shortname test107.
      2. Create a new user, teacher1, and enroll the user into test107 as a teacher.
      3. Go to Site administration > Users > Upload users and use the attached  [^bulk_user_core.csv] to create a bunch of users (at least 60) and enroll them as students in the test107 course.
      4. Login as teacher1.  Click on the arrow next to your name and select Messages.
      5. Search for Last1 to find the first student and send a message.
      6. Search for Last2 to find the next student and send a message.
      7. Continue to repeat this process through the first ten students.
      8. Exit the Search.  Observe that a conversation for each of the first ten students is listed under Private and the count of private conversations is 10.  The most recent conversations are listed first so the last conversation in the list is for Student Last1.
      9. Use the search tool to locate the 11th student, etc. and send a message to each user through Student Last55.
      10. Exit the Messages tool. (This step is necessary.  If you skip this step, you will be able to scroll through all conversations so long as you remain in Messages, but the list will be limited to 50 once you exit and return.)
      11. Return to the Messages tool.

      OBSERVED BEHAVIOR:
      The number next to Private indicates that there are 55 private conversations.   Scroll to the bottom of the list and find that the last conversation listed is for Student Last6.  The conversations for students 1-5 are not visible and there is no paging to gain access to these conversations. 

      EXPECTED BEHAVIOR:
      The number next to Private indicates that there are 55 private conversations.  The user is able to scroll through the full list of conversations.

      REPLICATION LOCATIONS
      Replicated on sandbox.moodledemo.net (3.9.2)
      Replicated on 3.8.3

      ADDITIONAL INVESTIGATION NOTES
      The problem seems to only be when accessing the full page Messages tool (/message/index.php).  When using the Messaging drawer, the first 50 conversations are loaded, but if you scroll further, additional conversations are loaded.  Ironically, there is a "See all" link at the bottom on the messaging drawer which opens the full tool were you cannot see all conversations. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              brian.winstead Brian Winstead
              Peer reviewer:
              Mikel Martín Corrales Mikel Martín Corrales
              Integrator:
              Jun Pataleta Jun Pataleta
              Tester:
              Janelle Barcega Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              7 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Mar/21

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 45 minutes
                  4h 45m