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

Avoid rendering external assets before core-external-content is applied

XMLWordPrintable

    • Hide

      This issue requires inspecting network requests.

      Embedded content in the app should continue working as expected, displaying online content first, downloading in background if the file isn't too big, displaying offline files if the file is downloaded, etc.

      Besides all that, test the following:

      1. In a course, add a label with some embedded media like images, video, audio, etc.
      2. In the app, open the Network inspector.
      3. Open the course with the media. Check that you don't see any request using the original request (pluginfile.php), all the requests to the embedded files should either use webservice/pluginfile, tokenpluginfile or a local URL).
      Show
      This issue requires inspecting network requests. Embedded content in the app should continue working as expected, displaying online content first, downloading in background if the file isn't too big, displaying offline files if the file is downloaded, etc. Besides all that, test the following: In a course, add a label with some embedded media like images, video, audio, etc. In the app, open the Network inspector. Open the course with the media. Check that you don't see any request using the original request (pluginfile.php), all the requests to the embedded files should either use webservice/pluginfile, tokenpluginfile or a local URL).
    • MOODLE_38_STABLE
    • MOODLE_404_STABLE
    • Moodle Apps - 2024 i2.1, Moodle Apps - 2024 i2.2

      The core-external-content directive is used to filter embedded assets, such as images, and prepare them to be displayed in the app. For example, adding authentication tokens if necessary.

      However, the content is being rendered before the directive is applied, and this is causing unintended consequences. For example, triggering a request for the assets without the authentication token, as reported here.

            dpalou Dani Palou
            noeldemartin Noel De Martin
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.