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

Extra instructions required for configuring a Dropbox repository

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.1.7, 2.2.4
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide

      This test requires the Dropbox repository to be enabled and a Dropbox account for use in testing.

      1. Login as a student and go to a forum.
      2. Add a new discussion topic and click the Add button to add an attachment.
      3. Choose Dropbox in the file picker then click the Login button.
      4. Grant access to your Dropbox account.
      5. Select a file then click the 'Post to forum' button.
      6. Check that the Dropbox file is shown as an attachment to the post.
      7. Try downloading the file.

      Show
      This test requires the Dropbox repository to be enabled and a Dropbox account for use in testing. 1. Login as a student and go to a forum. 2. Add a new discussion topic and click the Add button to add an attachment. 3. Choose Dropbox in the file picker then click the Login button. 4. Grant access to your Dropbox account. 5. Select a file then click the 'Post to forum' button. 6. Check that the Dropbox file is shown as an attachment to the post. 7. Try downloading the file.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When configuring a Dropbox repository, Moodle will only work with a Dropbox app that is configured to for the whole of Dropbox. The default option when creating a Dropbox app is to allow it access to a single folder within the user's Dropbox. If the default option is used when an attempt is made to access a Dropbox repository to upload files, Moodle gives the error:

      "Remote repository returned error: Full Dropbox access attempt failed because this app is not configured to have full Dropbox access. Should your access type be app folder ('sandbox') instead?"

      Update repository/dropbox/lang/en/repository_dropbox.php, $string['instruction'] so that these instructions are displayed on the Dropbox configuration page.

      Test Steps:
      1. Login to Moodle as admin.
      2. Navigate to Settings > Site administration > Plugins > Repositories > Manage Repositories.
      3. Select "Enabled and visible" for the Dropbox repository and then click "Settings".

      Expected Result:

      • Instructions are visible onscreen informing the admin user that they must select the option "Full Dropbox - Your app needs access to the user's entire Dropbox." when setting up a Dropbox app.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jul/12