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

Cannot create offline calendar events if the create page hasn't been opened in online before

XMLWordPrintable

    • Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login in a new site.
      2. Go to More > Calendar.
      3. In the monthly view, go offline.
      4. Click to create a new event. Check that the form is rendered and no error is displayed.
      5. Enter valid data in the form and click "Save". Check that the event is saved in offline.
      6. Go online and synchronize. Check that the event is successfully created in the site.
      Show
      This issue only needs to be tested in 1 device. In the app, login in a new site. Go to More > Calendar. In the monthly view, go offline. Click to create a new event. Check that the form is rendered and no error is displayed. Enter valid data in the form and click "Save". Check that the event is saved in offline. Go online and synchronize. Check that the event is successfully created in the site.
    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Moodle App 4.1.0

      We need to call some WS to check which events can the user create. For example, the getAccessInformation call is only performed in this page, so the only way to cache it is to open the page. This means the user needs to open the page at least once in online (and for that course) to be able to create offline events.

      We should explore if we can improve this in some way. Some possible options:

      • Check if we can use some "fallback" if the WS calls fail.
      • Cache the WS calls in other pages.
      • Have some kind of "prefetch" to cache this data.

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

              Created:
              Updated:
              Resolved:

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