-
Bug
-
Resolution: Fixed
-
Minor
-
3.3
-
MOODLE_33_STABLE
-
MOODLE_33_STABLE
-
MDL-58800-master -
There are two different problems here:
1 - It seems that when the offline parameter is set, the googledocs repository will try to download the file using the current user google oauth token (it should use the system one when web services are used or even always because maybe there is not an active google session in the user browser)
2 - webservice/pluginfile.php is defined as an AJAX script, this means that redirections won't work so when send_file does a redirection to the real file in the google doc repository, we receive a redirectionerror exception (check the redirect function in lib/weblib.php)