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

Site content embedded via iframes should be made available when offline

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In web, embed an actvity and a resource with an iframe in a label or page.
      2. In the app, access the iframe. Check that the iframe contains the embedded activities.
      3. Download the course and switch to offline.
      4. Access again the page with the embedded iframe. Check that a button with text "View embedded content" is displayed in place of the iframes.
      5. Click the button. Check that the activity/resource is displayed.
      Show
      In web, embed an actvity and a resource with an iframe in a label or page. In the app, access the iframe. Check that the iframe contains the embedded activities. Download the course and switch to offline. Access again the page with the embedded iframe. Check that a button with text "View embedded content" is displayed in place of the iframes. Click the button. Check that the activity/resource is displayed.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      There are some scenarios where site content (like a page resource) is embedded via iframes within the site.

      This should work fine in the app when the user is online because it is auto-logged in the site when displaying the iframe contents. But, when the user is offline, it is not going to work.

      Being a content available via the app (and probably cached) we should offer a link or something instead the "Content not available offline" to allow the user to view the content when offline (only if is a link that can be handled by the app)

        Attachments

          Activity

            People

            Assignee:
            albert.gasset Albert Gasset
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Juan Leyva
            Tester:
            Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jan/19