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

Edit calendar events in the app

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

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

      1. In web as admin, create one event of each type: site, course, category, group and user. Make sure to make one of these events repeatable (enable "Repeat this event" and set a number higher than 1 in "Repeat weekly, creating altogether").
      2. Login in the app as admin.
      3. Open any of the events created in step 1 and check that you see a context menu with the "Edit" option.
      4. In an event that isn't repeated, click the option and edit the event. You can change any field you want. Check that you don't see the "repeat" setting.
      5. Save the data. Check that the event page is updated and it displays the new information.
        5.1. Check that the monthly view has been updated too and it displays the new information. Please notice that in phones you'll only view a change if the type of the event changed and in certain conditions.
        5.2 Open the new day where the event is happening and check that it displays the new information.
      6. Now edit an event that is repeated. Check that you see a setting "Repeated events".
      7. Change the event title, select "Also apply changes to the other events in this repeat series" and save. Check that all the repeated events are updated.
      8. Edit the event again, change the event title but now select "Apply changes to this event only". Save and check that only the current event is updated.
      9. Now go offline and edit any of the events that isn't repeated. You can change any field you want, but change at least the type of the event and its date.
      10. Check that the event page displays the new information. 
        10.1. Check that the monthly view has been updated too and it displays the new information. In tablet you should see a clock next to the event name. Please notice that in phones you'll only view a change if the type of the event changed and in certain conditions.
        10.2. Open the new day where the event is happening and check that it displays the new information. Check that you see a "Not sent" message at the right side of the event.
      11. Go online and synchronize. Check that the data is sent successfully.
      12. Now edit a repeated event in offline and check that the "Repeated events" setting works fine. Please notice that, if you select to apply the changes to all events, it will only affect the selected event until you synchronize.
      13. Now login as student in the app.
      14. Go to the calendar and open any of the events of step 1. Check that you do NOT see a context menu with the "Edit" option.
      15. Create a new user event.
      16. Open the new event. Check that you see a context menu with the "Edit" option and you can edit the event.
      Show
      This issue only needs to be tested in 1 device. It's recommended to rest MOBILE-1927 before testing this issue. In web as admin, create one event of each type: site, course, category, group and user. Make sure to make one of these events repeatable (enable "Repeat this event" and set a number higher than 1 in "Repeat weekly, creating altogether"). Login in the app as admin. Open any of the events created in step 1 and check that you see a context menu with the "Edit" option. In an event that isn't repeated, click the option and edit the event. You can change any field you want. Check that you don't see the "repeat" setting. Save the data. Check that the event page is updated and it displays the new information. 5.1. Check that the monthly view has been updated too and it displays the new information. Please notice that in phones you'll only view a change if the type of the event changed and in certain conditions. 5.2 Open the new day where the event is happening and check that it displays the new information. Now edit an event that is repeated. Check that you see a setting "Repeated events". Change the event title, select "Also apply changes to the other events in this repeat series" and save. Check that all the repeated events are updated. Edit the event again, change the event title but now select "Apply changes to this event only". Save and check that only the current event is updated. Now go offline and edit any of the events that isn't repeated. You can change any field you want, but change at least the type of the event and its date. Check that the event page displays the new information.  10.1. Check that the monthly view has been updated too and it displays the new information. In tablet you should see a clock next to the event name. Please notice that in phones you'll only view a change if the type of the event changed and in certain conditions. 10.2. Open the new day where the event is happening and check that it displays the new information. Check that you see a "Not sent" message at the right side of the event. Go online and synchronize. Check that the data is sent successfully. Now edit a repeated event in offline and check that the "Repeated events" setting works fine. Please notice that, if you select to apply the changes to all events, it will only affect the selected event until you synchronize. Now login as student in the app. Go to the calendar and open any of the events of step 1. Check that you do NOT see a context menu with the "Edit" option. Create a new user event. Open the new event. Check that you see a context menu with the "Edit" option and you can edit the event.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      Along with calendar events creation, we should support editing calendar events.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Aug/19