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

Handle context freeze in the Mobile app

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6.0
    • 3.5.2
    • Others
    • Hide
      1. In a Moodle 3.6 site, setup a course with an assignment and freeze the course.
      2. Access the app with a student and go to the assignment. Check that an empty page is displayed (this is the same behavior as web).
      3. Download the assignment from the header menu. Check that no error is displayed.
      4. Open the app offline and go to the assignment. Check that no error is displayed.
      5. Repeat steps 2-4 with a teacher.
      Show
      In a Moodle 3.6 site, setup a course with an assignment and freeze the course. Access the app with a student and go to the assignment. Check that an empty page is displayed (this is the same behavior as web). Download the assignment from the header menu. Check that no error is displayed. Open the app offline and go to the assignment. Check that no error is displayed. Repeat steps 2-4 with a teacher.
    • MOODLE_35_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.0

      If a context is frozen, most WS calls will return an exception. E.g. the WS mod_assign_get_submission_status returns required_capability_exception.

      Currently we have 2 problems in the app:

      1. If some information is cached, the app will display the cached in this case.
      2. If the information isn't cached, we'll display an error and, in some cases, some data will be displayed in the screen. E.g. in assignment we display an error and the screen displays a header "Submission status". In web, no error is displayed and the user only sees a blank screen, we should do the same as web.

      We need to check all or most cases to make sure they all behave the same.

            albert.gasset Albert Gasset
            dpalou Dani Palou
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Dani Palou Dani Palou
            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.