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

Connection to Dropbox repositories is not working anymore

XMLWordPrintable

    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-39203-master
    • Hide

      I'd like this to be tested more than just in the QA.

      1. Go to your private files
      2. Browse your Dropbox repository
      3. Use the Login button to log in if not already logged in
      4. Click the logout button
        • Confirm you've been logged out and you see the login button again
      5. Log back in
      6. Confirm you can browse your folders and sub folders
      7. Confirm you can pick a file as a hard copy
      8. Confirm you can pick a file as a reference
      9. Confirm that both are saved in your Private files and have the correct content
      Show
      I'd like this to be tested more than just in the QA. Go to your private files Browse your Dropbox repository Use the Login button to log in if not already logged in Click the logout button Confirm you've been logged out and you see the login button again Log back in Confirm you can browse your folders and sub folders Confirm you can pick a file as a hard copy Confirm you can pick a file as a reference Confirm that both are saved in your Private files and have the correct content

      I've just noticed that we're not able to connect to Dropbox repositories in our environment. You still get to see the autorisation page from Dropbox but when you click to autorise, the file picker is refreshed but still display the login button. By the way, you won't see the bug if you're already connected to Dropbox in your Moodle account. You have to deconnect yourself and try to reconnect.

      Here's what I have in php errors log :

      [17-Apr-2013 09:41:05] PHP Notice:  Undefined index: oauth_token in /.../moodle/lib/oauthlib.php on line 269
      [17-Apr-2013 09:41:05] PHP Notice:  Undefined index: oauth_token_secret in /.../moodle/lib/oauthlib.php on line 269
      [17-Apr-2013 09:41:05] PHP Notice:  Undefined index: oauth_token in /.../moodle/repository/dropbox/lib.php on line 157
      [17-Apr-2013 09:41:05] PHP Notice:  Undefined index: oauth_token_secret in /.../moodle/repository/dropbox/lib.php on line 158
      

      It seems obviously that Moodle is unable to recover the token from Dropbox... Maybe something has changed in the Dropbox API ?

      I've reproduced this bug in 2.3.3 and 2.4.3 only. Can someone confirm if the problem is or is not there in master branch ?

            fred Frédéric Massart
            gaudreaj Jean-Philippe Gaudreau
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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