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

Error when clicking unread notification with messaging disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.7.4, 3.8.1
    • Fix Version/s: None
    • Component/s: Messages
    • Labels:
    • Testing Instructions:
      Hide

      Pre-requisite: To have at very least another user in the site, apart from admin.
      1- Log in as admin
      2- Check messaging system ("messaging") is disabled (in admin->messaging settings)

      3- Generate a notification (use one of methods below)

      • Generate a notification (method A):
        1. Check that subscription mode is "forced" for site news forum
        2. Write a news in site course and execute message task
      • Generate a notificacion (method B)
        1. Create a badge with "Manual issue by role" criteria and make it available
        2. Assign badge manually to the user

      4- In another browser, login as student or teacher.
      5- Check that notification icon (bell) has a badge with "1".
      6- Click on the notification icon to open the notification popover.
      7- Check that the last added news (or awarded badge) appears in the notification popover (don't click it!)
      8- Click "See all".
      9- Click the unread notification.
      10- The notification should be marked as read (by the text no longer being bold).

      Show
      Pre-requisite: To have at very least another user in the site, apart from admin. 1- Log in as admin 2- Check messaging system ("messaging") is disabled (in admin->messaging settings) 3- Generate a notification (use one of methods below) Generate a notification (method A): Check that subscription mode is "forced" for site news forum Write a news in site course and execute message task Generate a notificacion (method B) Create a badge with "Manual issue by role" criteria and make it available Assign badge manually to the user 4- In another browser, login as student or teacher. 5- Check that notification icon (bell) has a badge with "1". 6- Click on the notification icon to open the notification popover. 7- Check that the last added news (or awarded badge) appears in the notification popover (don't click it!) 8- Click "See all". 9- Click the unread notification. 10- The notification should be marked as read (by the text no longer being bold).
    • Workaround:
      Hide

      a) Click on the notification in the notification popover instead of going to the "See all" page.
      b) Click on the "Mark all as read" button (looks like a checkmark) in the notification popover.

      Show
      a) Click on the notification in the notification popover instead of going to the "See all" page. b) Click on the "Mark all as read" button (looks like a checkmark) in the notification popover.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67918_master

      Description

      This is a follow-up of MDL-57755.

      When messaging is disabled in Site administration (setting name "messaging") and you have unread notifications, click on the bell icon, then on "See all" and then click on one of your unread notifications. You get the attached error message. The notification is not marked as read.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschroeder Tim Schroeder
              Reporter:
              tschroeder Tim Schroeder
              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:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: