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

Migrate forum synchronization

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • DEV backlog
    • None
    • Synchronization
    • Hide

      To perform these tests it's recommended to change the value of mmaModForumSyncInterval (e.g. 30000) so the sync process is executed often.

      1. Activate the synchronization on some forums (enable toggle checkbox in the forums). Check that the sync status is kept even if you close the app and go back to the forum.
      2. Check that the sync process is executed every mmaModForumSyncInterval ms.
      3. Go offline, wait for the next execution of $mmSyncDelegate#_syncProcess and check that the next execution is set at 5 minutes instead of the forum interval.
      4. Add new posts and discussions to a forum to be synchronized. Wait for the sync process to execute (please note that the sync process doesn't invalidate cache, you'll also need to wait for cache to expire). Go offline and check that you can see the new discussions and posts (images and so inside text aren't synchronized). You can also perform this test while using another site.
      Show
      To perform these tests it's recommended to change the value of mmaModForumSyncInterval (e.g. 30000) so the sync process is executed often. Activate the synchronization on some forums (enable toggle checkbox in the forums). Check that the sync status is kept even if you close the app and go back to the forum. Check that the sync process is executed every mmaModForumSyncInterval ms. Go offline, wait for the next execution of $mmSyncDelegate#_syncProcess and check that the next execution is set at 5 minutes instead of the forum interval. Add new posts and discussions to a forum to be synchronized. Wait for the sync process to execute (please note that the sync process doesn't invalidate cache, you'll also need to wait for cache to expire). Go offline and check that you can see the new discussions and posts (images and so inside text aren't synchronized). You can also perform this test while using another site.

    Description

      In MM 2.0 we won't have forum synchronization yet, we'll have to migrate it trying to use WebWorkers when possible.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Frédéric Massart Frédéric Massart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: