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

Support offline manual completion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.6.0
    • Component/s: Offline
    • Labels:
    • Testing Instructions:
      Hide
      1. In web, login as teacher/admin and enable manual completion for a certain activity in a course (Edit settings > Activity completion > Students can manually...).
      2. In the app, login as a student and go to the course and section containing that activity.
      3. Check that you can change the completion in online.
      4. Now go offline and change the completion. Check that the completion is changed and you see a message in the activity saying that it isn't synchronized.
      5. Go online and wait a bit for the data to be syncrhonized (it can take up to 5 minutes). Once it is synchronized, the view should refresh and the completion should stay as it was in offline.
      6. Go offline again and change the completion.
      7. In web, change the completion twice (so it ends up as it was). The completion in web should be different as the one stored in offline in the app.
      8. In the app, go online and do a PTR or wait for it to synchronize. Check that you see a message saying that some offline completion was deleted.
      9. Go offline again and change the completion.
      10. In web, disable the completion of that activity (Edit settings > Activity completion > Do not indicate activity completion). You'll have to unlock the completion.
      11. In the app, go online and do a PTR or wait for it to synchronize. Check that you see a message saying that some offline completion was deleted.
      Show
      In web, login as teacher/admin and enable manual completion for a certain activity in a course (Edit settings > Activity completion > Students can manually...). In the app, login as a student and go to the course and section containing that activity. Check that you can change the completion in online. Now go offline and change the completion. Check that the completion is changed and you see a message in the activity saying that it isn't synchronized. Go online and wait a bit for the data to be syncrhonized (it can take up to 5 minutes). Once it is synchronized, the view should refresh and the completion should stay as it was in offline. Go offline again and change the completion. In web, change the completion twice (so it ends up as it was). The completion in web should be different as the one stored in offline in the app. In the app, go online and do a PTR or wait for it to synchronize. Check that you see a message saying that some offline completion was deleted. Go offline again and change the completion. In web, disable the completion of that activity (Edit settings > Activity completion > Do not indicate activity completion). You'll have to unlock the completion. In the app, go online and do a PTR or wait for it to synchronize. Check that you see a message saying that some offline completion was deleted.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      We should support offline manual completion in the app (basically, allow users to mark resources/activities as completed and launch the WS calls when the user is back offline)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Albert Gasset
              Integrator:
              Juan Leyva
              Tester:
              Albert Gasset
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/19