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

Call updateSiteInfo at regular intervals to keep site up to date

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.8.1
    • Component/s: Synchronization
    • Labels:
    • Testing Instructions:
      Hide

      This issue should be tested in 1 device.

      1. In the app, login in a certain site.
      2. Go to the More tab. Check that the site name is displayed at the top.
      3. In web as admin, go to Site Home and click Edit settings.
      4. Change the "Full site name" and "Short site name" of the site.
      5. In the app, wait for the site name to be updated automatically (it can take up to 1 hour). 
      Show
      This issue should be tested in 1 device. In the app, login in a certain site. Go to the More tab. Check that the site name is displayed at the top. In web as admin, go to Site Home and click Edit settings. Change the "Full site name" and "Short site name" of the site. In the app, wait for the site name to be updated automatically (it can take up to 1 hour). 
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Sprint:
      Moodle App 3.8.1

      Description

      The updateSiteInfo method from CoreSitesProvider is responsible for updating the site, but right now it is only being called on application startup and after login into a site.

      In order to keep sites up to date in long sessions, it'd be a good approach to execute this method at regular intervals.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            noeldemartin Noel De Martin
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Isabel Renedo Rouco Isabel Renedo Rouco
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Mar/20