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

Create alias/Shortcut to Dropbox repository does not work from moodle 2.9 and up.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 2.9.5, 2.9.6, 3.0.1, 3.0.2, 3.0.3, 3.0.4
    • Fix Version/s: 3.0.5
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide
      1. Setup Dropbox synchronisation
      2. Add a SCORM zip file to your dropbox account
      3. Add a new scorm module using the activity chooser
      4. Using the dropbox repo, find the file and select it. Use the {{Create an alias/shortcut to the file
        }} setting
      5. Select the file, save changes, and click "Save and display"
        1. Confirm no errors
      6. Attempt to view the activity
        1. Confirm it works without error
      Show
      Setup Dropbox synchronisation Add a SCORM zip file to your dropbox account Add a new scorm module using the activity chooser Using the dropbox repo, find the file and select it. Use the {{Create an alias/shortcut to the file }} setting Select the file, save changes, and click "Save and display" Confirm no errors Attempt to view the activity Confirm it works without error
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-54584-master

      Description

      I made myself a dropbox repository according to the documentation.

      Then I use the repository to attach a scorm package to my course.
      If I choose 'make a copy of the file' everything works well => The Dropbos repository is accessible

      If I choose create an alias/shortcut to the file':

      • The dropbox repository appears in the file picker.
      • I can choose the scorm file
      • the shortcut appears in the package file window.
      • Saving the page gives an error stating that: 'An error occurred while downloading the file. Cannot write to file ([localcachedir]/......)'

      I made a video so you can see for yourselves
      https://www.youtube.com/watch?v=U3Hm_htbg1Y

      Did some more testing with all available MAMP moodle versions and the dropbox repository.
      Create an alias to the dropbox repository works well in moodle versions until version 2.8.
      Starting from moodle 2.9 this functionality does not work anymore.
      Instead the described error appears.
      Maybe compare the code from 2.8 and 2.9 / 3.0 will clarify the problem.
      Someone?

      kind regards

      Dagwin

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/16