Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1102

Module icon not updated when the user accesses it and then goes back to list

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install the app in a device and go to course contents.
      2. Open a module that's not downloaded (mini-site resource, book, imscp, page). Wait for it to be rendered and go back to module list. Check that the download icon is gone.
      3. Do the same as above, but go back before the file is rendered. You should see the downloading spinner, and it should disappear when all the files are downloaded.
      4. Click a not downloaded mod_resource that's not a mini site. If you go back to the modules list you should still see the download icon, since the file is not downloaded yet. Click the "open file" button in the mod_resource, go back to the module list and check that the download icon is gone.
      Show
      Install the app in a device and go to course contents. Open a module that's not downloaded (mini-site resource, book, imscp, page). Wait for it to be rendered and go back to module list. Check that the download icon is gone. Do the same as above, but go back before the file is rendered. You should see the downloading spinner, and it should disappear when all the files are downloaded. Click a not downloaded mod_resource that's not a mini site. If you go back to the modules list you should still see the download icon, since the file is not downloaded yet. Click the "open file" button in the mod_resource, go back to the module list and check that the download icon is gone.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If a user clicks the download/refresh button of a module, the icon is updated. But if the user accesses the module and then goes back to the module list, he still sees the old icon (e.g. download).

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15