Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61688

Linked file fail to open with moodle mobile app.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.4
    • Fix Version/s: None
    • Component/s: Resource, Web Services
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      Files linked from Googe drive / office 365 fail to load for course teachers when using the official Moodle Mobile application

      Steps to reproduce:

      1. This requires a moodle course with two teacher accounts.
      2. Log into the course as teacher1 and add a file resource. (For the file use any google spreadsheet and choose "Create an access controlled link to the file")
      3. As teacher2 log into the Moodle course via the mobile application (I was using Moodle Desktop for OSX v3.4.1, but it also fails on IOS)
      4. As teacher 2 click on the newly added file resource.

      Expected result: You should be redirected to a browser to  view the document.

      Actual result: JSON ERROR:
      {
      "error": "Unsupported redirect detected, script execution terminated",
      "errorcode": "redirecterrordetected",
      "stacktrace": null,
      "debuginfo": null,
      "reproductionlink": null
      }
      URL: https://SERVERURL/webservice/pluginfile.php/35702/mod_resource/content/1/Name%20change%20Locations.gdoc?token=TOKENID

       

      NOTE: it works correctly with student users.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sbourget Stephen Bourget
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias, Juan Leyva, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: