-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.5, 4.1
In Messages, the number of unread messages in the messages section is not updated as it should.
Note: Check the attached videos for each scenario.
Steps to reproduce Scenario 1
- Go to any of the sites with moodle 4.0 installed
- Go to an existing course
- Enrol 3 users (student role).
- Log in as "student1”
-
- Go to Messages
-
- Send "Hi!" message in the message area to “student2”
- Log in as "student3”
-
- Go to Messages
-
- Send "Hi!" message in the message area to “student2”
- Log in as "student2”
-
- Go to Messages
-
- You should see “2” unread messages in Private Message
-
- Go to one of the conversations, and quickly go to another chat with unread messages.
Current behavior
The number of unread messages is not updating correctly.
Expected behavior
When reading a message, the number of unread messages should be updated, without the need to Reload the site.
Steps to reproduce Scenario 2
- Go to any of the sites with moodle 4.0 installed
- Go to an existing course
- Enrol 3 users (student role).
- Log in as "student1”
-
- Go to Messages
- Send "Hi!" message in the message area to “student2”
- Log in as "student3”
-
- Go to Messages
-
- Send "Hi!" message in the message area to “student2”
- Log in as "student2”
-
- Go to Messages
-
- You should see “2” unread messages in Private Message
-
- Read one of the messages and check if it changes the number of unread messages to 1
-
- Reload the page
- Enter the previously read conversation, notice how the number of messages in the Private section decreases, even though the chat has already been read.
Current behavior
The number of unread messages is not updating correctly.
Expected behavior
When entering a previously read chat, the number of unread should be kept according to the conversations.
Steps to reproduce Scenario 3
- Go to any of the sites with moodle 4.0 installed
- Go to an existing course
- Enrol 3 users (student role).
- Log in as "student1”
-
- Go to Messages
-
- Send "Hi!" message in the message area to “student2”
- Log in as "student3”
-
- Go to Messages
-
- Send "Hi!" message in the message area to “student2”
- Log in as "student2”
-
- Go to Messages
-
- You should see “2” unread messages in Private Message
-
- Read one of the messages and check
- Notice how the number of unread messages in the private section decreases to 1
- Without reloading the page, wait for a while, you will see how automatically the value of unread messages decreases to 0, even without having read the second conversation.
Current behavior
The number of unread messages is not updating correctly.
Expected behavior
The number of unread messages in the section should be maintained based on the number of conversations that appear as unread.