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

Use calendar events table in 3.4+ sites to load events in offline

XMLWordPrintable

    • Hide

      This issue should be tested both in Android and iOS.

      Test update (Please skip this test, I'm leaving it just for the record)

      1. Install the previous version of the app in the device (without the monthly view).
      2. Login in a 3.4+ site and open the list calendar events (you should only open the list, not the events themselves). Make sure there's at least 1 calendar event. 
      3. Now update the app to the version with this patch applied.
      4. Go offline and open the app.
      5. Go to calendar events and open any event. Check that no error is displayed and you can see the basic info of the event (name, time, type and description).

      Test data stored (tablet only)

      1. Login in a 3.4+ site if you aren't logged in already.
      2. In online, open calendar events.
      3. View at least a couple of months that have events.
      4. Go offline and open any of the events directly from the monthly view. Check that you can see all the info of the event (e.g. if it's a course event you should see the course name, if it's a category event you should see the category name, etc.). The only exception is with group events, if the app hasn't cached the WS to get the user groups then you won't be able to view the group name.

       

      Show
      This issue should be tested both in Android and iOS. Test update (Please skip this test, I'm leaving it just for the record) Install the previous version of the app in the device (without the monthly view). Login in a 3.4+ site and open the list calendar events (you should only open the list, not the events themselves). Make sure there's at least 1 calendar event.  Now update the app to the version with this patch applied. Go offline and open the app. Go to calendar events and open any event. Check that no error is displayed and you can see the basic info of the event (name, time, type and description). Test data stored (tablet only) Login in a 3.4+ site if you aren't logged in already. In online, open calendar events. View at least a couple of months that have events. Go offline and open any of the events directly from the monthly view. Check that you can see all the info of the event (e.g. if it's a course event you should see the course name, if it's a category event you should see the category name, etc.). The only exception is with group events, if the app hasn't cached the WS to get the user groups then you won't be able to view the group name.  
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • Moodle App 3.7.1

      A long time ago we created a calendar events table to be able to load events in offline without having to open them all. I noticed this table isn't used in 3.4+ sites, we should use it too. 

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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