Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4344

Cron tasks synchronisying unread messages and notifications are not considering when the features are disabled

    XMLWordPrintable

Details

    • Hide

      This can be tested in app or webapp and should be tested by a dev.

      1. Login into LMS and go to Site administration > Mobile features > Disabled features. Then, disable messaging and notifications.
      2. Login into the web app or with a device connected to your computer and check network requests. Wait to the execution of the CRON (it takes 1 min in webapp and 10 in mobile) and when the execution is done, the app shouldn't have called the refresh notification (core_message_get_messages) or messaging WS (core_message_get_unread_conversation_counts, core_message_get_received_contact_requests_count)
      Show
      This can be tested in app or webapp and should be tested by a dev. Login into LMS and go to Site administration > Mobile features > Disabled features.  Then, disable messaging and notifications. Login into the web app or with a device connected to your computer and check network requests. Wait to the execution of the CRON (it takes 1 min in webapp and 10 in mobile) and when the execution is done, the app shouldn't have called the refresh notification ( core_message_get_messages ) or messaging WS ( core_message_get_unread_conversation_counts, core_message_get_received_contact_requests_count )
    • MOODLE_401_STABLE
    • MOODLE_403_STABLE
    • Moodle Apps - 2023 Sprint i2.2

    Description

      So the cron task that synchronise messages and the number of unread notifications is ignoring things such as:

      • Messaging disabled (via advanced settings or mobile app disabled features)
      • Notifications disabled (via mobile app disabled features)

      As a side effect, this means that the iOS badge number displayed closed the icon might not be never reset.

      Attachments

        Activity

          People

            alfonso.salces@moodle.com Alfonso Salces
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.