forked from capability-boosters-dev/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
return progress from legacy upload via url
fixes RECNVS-401 the javascript has already been adapted to expect a progress instead of the file status blob, that's what causes the bug. give it what it expects. the progress results are populated during Attachment#clone_url, and the progress is flagged completed once the worker successfully completes the job. test-plan: - with inst-fs turned off in the account - have a course with the Google Drive LTI tool enabled - have a file upload assignment in that course - as a student in the course, click "Submit Assignment" on the file upload assignment - choose the Google Drive tab, authorize a google account, select a file from the drive, and click submit. - submit the assignment with the selected file; the submission should go through without error (will give an error at this point without this commit) - click the link to download the submission; should download Change-Id: I43e991f419a9f81359145d9f40899ecc82675da0 Reviewed-on: https://gerrit.instructure.com/145403 Reviewed-by: Michael Jasper <[email protected]> Tested-by: Jenkins Reviewed-by: Andrew Huff <[email protected]> QA-Review: Collin Parrish <[email protected]> Product-Review: Jacob Fugal <[email protected]>
- Loading branch information
Showing
3 changed files
with
64 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters