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

Incorrect unread conversations count in page header after viewing same conversation twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.5, 3.7.3
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE

      Description

      Incorrect number count of unread conversations shown next to message popover icon

      STEPS TO REPLICATE

      This test requires 10 user accounts, student1, student2 etc who are all enrolled in the same course.

      1. Log in as student1, open the messaging drawer and send student2 several messages.
      2. log in as student3,  then as student4,  then as student5 etc and sent several messages to student 2.
      3. Log in then as student2 and verify that '10' is displayed on the messages icon to indicate 10 unread conversations.
      4. Open the messaging drawer as student 2 and start reading the unread sent messages.
      5. Start monitoring the unread messages icon.
      6. See that this number shows an incorrect count while the user read the unread messages and reset the page.

      Here it is a video explaining the issue: The issue presents itself around the 1:25 minute mark.

      https://drive.google.com/file/d/17Ohmwq61LK3shtZf6hUu8diOi5L3Gmyc/view

      OBSERVED BEHAVIOR:
      It is observed that the icon number that shows the unread messages has an incorrect count while the user read the unread messages and reset the page.

      EXPECTED BEHAVIOR:
      It is expected that the icon of the unread messages, counts in a correct way dpending of the real unread messages that the user has on the message window.

      REPLICATION LOCATIONS

      Moodle version 3.6.5, 3.7.3

      ADDITIONAL INVESTIGATION NOTES
      It is a core bug. it happens in all graphic themes.

      ATTACHMENTS

      Here it is a video showing the issue.

      https://drive.google.com/file/d/17Ohmwq61LK3shtZf6hUu8diOi5L3Gmyc/view

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            cbohorquez Cristhian Bohorquez
            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:
            4 Start watching this issue

              Dates

              Created:
              Updated: