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

Links to tokenpluginfile are opened in browser

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.5
    • 4.0.0
    • File system
    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as teacher, add a link to a PDF file using the tokenpluginfile URL. There's one already added in Master > MM Dev Testing > Resource: Book, in the section description.
      2. In the app, go to the place where the link was added.
      3. Go back to the previous page, wait a few seconds and open the page with the link again. This is to make sure that the app has loaded the local URL, there's an issue to improve this: MOBILE-3897.
      4. Click the link. Check that the file is opened directly, without being opened in browser.
      Show
      This issue only needs to be tested in 1 device. In web as teacher, add a link to a PDF file using the tokenpluginfile URL. There's one already added in Master > MM Dev Testing > Resource: Book, in the section description. In the app, go to the place where the link was added. Go back to the previous page, wait a few seconds and open the page with the link again. This is to make sure that the app has loaded the local URL, there's an issue to improve this:  MOBILE-3897 . Click the link. Check that the file is opened directly, without being opened in browser.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      Right now, if a teacher adds a link to a file using the tokenpluginfile endpoint the app opens it in a browser instead of downloading it inside the app. 

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              22/Apr/22