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

Local calendar events are not deleted when the user deletes a site

    XMLWordPrintable

Details

    • Hide

      This issue should be tested in 1 Android device and 1 iOS device (one of each is enough).

      1. Create one calendar event in the near future (e.g. in 1 hour).
      2. Add a reminder to be triggered in a few minutes minutes (e.g. 2-3 minutes).
      3. Logout and delete current site.
      4. Keep the app open. Check that you don't receive the reminder's notification.

       

      Show
      This issue should be tested in 1 Android device and 1 iOS device (one of each is enough). Create one calendar event in the near future (e.g. in 1 hour). Add a reminder to be triggered in a few minutes minutes (e.g. 2-3 minutes). Logout and delete current site. Keep the app open. Check that you don't receive the reminder's notification.  
    • MOODLE_403_STABLE
    • Moodle Apps - 2024 i1.1, Moodle Apps - 2024 i1.2

    Description

      We have the following code in place that is supposed to do this but it is not working:

      CoreEvents.on(CoreEvents.SITE_DELETED, (site) => {
      if (site?.id)

      { this.cancelSiteNotifications(site.id); }

      });

      Steps to reproduce:

      • Create some local calendar events
      • Add a reminder, in 5 minutes
      • Logout and delete current site
      • Keep the app open
      • You'll receive the calendar event notification even if the site is deleted

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              jleyva Juan Leyva
              Pau Ferrer Pau Ferrer
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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