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

Delete calendar events in the app

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Testing in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: Calendar events add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device. It's recommended to rest MOBILE-3087 before testing this issue.

      1. In web or in the app, as admin/teacher, create 4 events: 2 that aren't repeated and 2 more that are repeated (in "Repeat weekly, creating altogether" set it to 3 or higher). 
      2. In the app, login as the same user and open an event that isn't repeated. Check that you see a "Delete" option in the context menu.
      3. Click "Delete" in online. Check that you see a confirm modal.
      4. Cancel the delete, check that nothing happens.
      5. Click Delete again and now confirm. Check that the event is deleted and the monthly view is updated.
      6. Now open a repeated event and click "Delete" in online. Check that you see a confirm modal with 2 options: delete all events or delete this event.
      7. Select to delete this event and confirm. Check that only the selected event was deleted, the repeated ones are still in the calendar.
      8. Open one of the repeats of the event you just deleted and click Delete.
      9. In the modal, select to delete all events and confirm. Check that all the repeated events were deleted.
      10. Now open an event that isn't repeated, go offline, click Delete and confirm. In the event page, check that you see the message saying that there is offline data and you see a "Deleted" offline note at the right of the event name.
      11. In the monthly view, check that you see the message saying that there is offline data and you see a trash icon in the event.
      12. Inside the event page, open the context menu and click "Restore". Check that you no longer see the warnings about offline data or deleted offline.
      13. Delete the event in offline again, then go online and synchronize. Check that you're sent back to the monthly/daily view (if needed) and the list of events is updated.
      14. Now repeat steps from 6 to 9 in offline, taking into account that in offline you'll only see the "Deleted offline" warning in the affected event, even if you selected to delete all events. 
      Show
      This issue only needs to be tested in 1 device. It's recommended to rest MOBILE-3087 before testing this issue. In web or in the app, as admin/teacher, create 4 events: 2 that aren't repeated and 2 more that are repeated (in "Repeat weekly, creating altogether" set it to 3 or higher).  In the app, login as the same user and open an event that isn't repeated. Check that you see a "Delete" option in the context menu. Click "Delete" in online. Check that you see a confirm modal. Cancel the delete, check that nothing happens. Click Delete again and now confirm. Check that the event is deleted and the monthly view is updated. Now open a repeated event and click "Delete" in online. Check that you see a confirm modal with 2 options: delete all events or delete this event. Select to delete this event and confirm. Check that only the selected event was deleted, the repeated ones are still in the calendar. Open one of the repeats of the event you just deleted and click Delete. In the modal, select to delete all events and confirm. Check that all the repeated events were deleted. Now open an event that isn't repeated, go offline, click Delete and confirm. In the event page, check that you see the message saying that there is offline data and you see a "Deleted" offline note at the right of the event name. In the monthly view, check that you see the message saying that there is offline data and you see a trash icon in the event. Inside the event page, open the context menu and click "Restore". Check that you no longer see the warnings about offline data or deleted offline. Delete the event in offline again, then go online and synchronize. Check that you're sent back to the monthly/daily view (if needed) and the list of events is updated. Now repeat steps from 6 to 9 in offline, taking into account that in offline you'll only see the "Deleted offline" warning in the affected event, even if you selected to delete all events. 
    • Affected Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      We should support deleting calendar events in the app.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: