Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6147

Copied/imported "Create an alias/shortcut to the file" doesn't work on another course

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.7.12
    • Set: Office365
    • 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.

        1. alias1.PNG
          alias1.PNG
          49 kB
        2. alias2.PNG
          alias2.PNG
          42 kB
        3. alias3.png
          alias3.png
          455 kB
        4. alias4.PNG
          alias4.PNG
          66 kB
        5. error1.PNG
          error1.PNG
          200 kB

            jamesmcq24 James McQuillan
            urpokarhu Jari Vilkman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.