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

Apply component and componentId to WS calls

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.2
    • Fix Version/s: 3.9.3
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. In the app, open any activity that can be downloaded and isn't automatically downloaded when opened. That is: assign, choice, database, feedback, forum, glossary, lesson, quiz, scorm (only entry page), survey, wiki, workshop. Pick the one(s) you want.
      2. After opening the activity without downloading it, open the top right menu and check that you see some size in the space usage (it's usually a low value, bytes or KB, unless a file was downloaded).
      3. Go back to the course page, open the top-right menu and click "Manage storage". Check that you see the same size as in the previous step for that activity. Please notice that you'll probably see a small size in some activities you didn't open, that's because those activities need to perform a WS call to determine if they can be downloaded.
      4. Go back to the activity, open the top-right menu and click the option to delete the storage. Check that now no size is displayed.
      Show
      This issue only needs to be tested in 1 device. In the app, open any activity that can be downloaded and isn't automatically downloaded when opened. That is: assign, choice, database, feedback, forum, glossary, lesson, quiz, scorm (only entry page), survey, wiki, workshop. Pick the one(s) you want. After opening the activity without downloading it, open the top right menu and check that you see some size in the space usage (it's usually a low value, bytes or KB, unless a file was downloaded). Go back to the course page, open the top-right menu and click "Manage storage". Check that you see the same size as in the previous step for that activity. Please notice that you'll probably see a small size in some activities you didn't open, that's because those activities need to perform a WS call to determine if they can be downloaded. Go back to the activity, open the top-right menu and click the option to delete the storage. Check that now no size is displayed.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      After MOBILE-3188 all WS cached entries can have a component and componentId. We should pass this component and componentId everywhere we can.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Nov/20