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

If 1 file fails to download, IMSCP and mini site resources aren't loaded

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. "Break" a IMSCP or iframe mod_resource. To do so, go to files DB table and update the pathnamehash of one of its files (I recommend not breaking a html file).
      2. In the app, open that module without having it downloaded and check that the module is loaded and an error message is shown. Check that all the files except the broken one are loaded.
      Show
      "Break" a IMSCP or iframe mod_resource. To do so, go to files DB table and update the pathnamehash of one of its files (I recommend not breaking a html file). In the app, open that module without having it downloaded and check that the module is loaded and an error message is shown. Check that all the files except the broken one are loaded.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Mini site resources and IMSCP try to download all the files before showing the module. If this download fails, the contents aren't shown. In Book and page we also predownload the data, but we try to show it even if the download fails. We should use the same approach.

        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:
            1 Start watching this issue

              Dates

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