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

Links to tokenpluginfile are opened in browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: File system
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      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

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Integrator:
            Pau Ferrer Pau Ferrer
            Tester:
            Isabel Renedo Rouco Isabel Renedo Rouco
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: