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

Handle config 'downloadfiles' in Addons and $mmFilepool

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: File system, Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Disable download files on a Moodle site.
      2. Try to add that site on the app (new site) and check that you can't.
      3. Enable the downloads and check that now you can access it in the app.
      4. Disable it again, re-start the app and check that the app shows an error message and sends you back to sites list. Check that you cannot re-login in that site.
      5. Enable downloads again and check that you can login again.
      Show
      Disable download files on a Moodle site. Try to add that site on the app (new site) and check that you can't. Enable the downloads and check that now you can access it in the app. Disable it again, re-start the app and check that the app shows an error message and sends you back to sites list. Check that you cannot re-login in that site. Enable downloads again and check that you can login again.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Currently we might trigger lots of exceptions if the site downloads were disabled because many plugins, or directives rely on plugin files.

      We should disable the plugins, or directives, etc... that rely on downloading the content.

      I have not checked how MM1 handles that, I have just noticed in Moodle Web/webservice/pluginfile.php that file download must be enabled.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Juan Leyva Juan Leyva
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Juan Leyva 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