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

Unread messages counter incorrectly handles notifications

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide
      Test 1
      1. Log in as an admin and turn on the setting 'showwelcomearea'.
      2. Create a course.
      3. Create an assignment.
      4. Enrol a student in the course.
      5. Log in as the enrolled student and submit a submission for the assignment.
      6. As a teacher, grade the submission, give feedback, and tick 'notify student'.
      7. Run the cron.
      8. As a student visit your Dashboard and confirm it tells you there are no unread messages.
      Test 2
      1. Ensure unit tests are passing.
      Show
      Test 1 Log in as an admin and turn on the setting 'showwelcomearea'. Create a course. Create an assignment. Enrol a student in the course. Log in as the enrolled student and submit a submission for the assignment. As a teacher, grade the submission, give feedback, and tick 'notify student'. Run the cron. As a student visit your Dashboard and confirm it tells you there are no unread messages. Test 2 Ensure unit tests are passing.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58014_master

      Description

      We have seen that many users of our institution's Moodle suffer from inconsistent display of unread messages counter in Course Overview block (to display the messaging welcome area, one needs to turn 'showwelcomearea' on).

      In fact, some notifications are counted as unread, though they can't be displayed in Messager. Therefore, they're stuck as unread.
      Examples: assign feedback notifications, forum notifications. Both are shown on the screenshot and both are not counted as read when visiting the Messager. We have users with 200+ unread messages, where all such messages are just notifications.

      To replicate the issue, ensure that you have web-notifications turned on in notification preferences.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Mar/17