-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
2.7.12
-
None
-
MOODLE_27_STABLE
Hello,
When you make an assignment to course A and make a link to it's description-field to a office 365 -file with option "Create an alias/shortcut to the file" and then in course B you use "import"-tool the linked file won't open anymore, it just displays an error:
"Debug info: Error code: filenotfound"
"Stack trace: •line 463 of /lib/setuplib.php: moodle_exception thrown
•line 1957 of /lib/filelib.php: call to print_error()
•line 929 of /repository/office365/lib.php: call to send_file_not_found()
•line 1024 of /lib/filestorage/stored_file.php: call to repository_office365->send_file()
•line 2422 of /lib/filelib.php: call to stored_file->send_file()
•line 4585 of /lib/filelib.php: call to send_stored_file()
•line 37 of /pluginfile.php: call to file_pluginfile()"
How to repeat:
1. Make an assingment to course A
2. Make a link in the assignment's description field pointing to OneDrive-file with option "Create an alias/shortcut to the file"
3. Open course B
4. From the Administration-menu, under "course administration" select "import"
5. Import the assignment from course Administration-menu
6. Click the link you made and notice how it gives an error.