New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix upload of folders in Chrome #4153
Conversation
MorrisJobke
commented
Mar 29, 2017
- this fixes the problem with the uploads of folders in Chrome, that you noticed
- thanks for @georgehrke for helping to fix this
- @karlitschek I will backport this to stable11 as well
@MorrisJobke, thanks for your PR! By analyzing the history of the files in this pull request, we identified @butonic, @luckydonald and @vincchan to be potential reviewers. |
I tested this and it fixes the issue. 👍 |
Backport is in #4154 |
@georgehrke Could I ask you to look into fixing the unit tests for this? That would be nice. Thanks :) (feel free to take over those two PRs, because I will be not available Thursday and Friday) |
great. please backport |
What does this actually fix? Because I uploaded folders just fine this week on the latest chromium and nextcloud? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FAILED
TypeError: undefined is not an object (evaluating 'this._uploads[data.uploadId].data = data') in apps/files/js/file-upload.js (line 541)
getUpload@apps/files/js/file-upload.js:541:32
fail@apps/files/js/file-upload.js:897:33
_trigger@core/vendor/jquery-ui/ui/jquery-ui.custom.js:789:18
add@apps/files/js/file-upload.js:850:18
apps/files/tests/js/fileUploadSpec.js:72:41
collect@core/vendor/underscore/underscore.js:172:32
addFiles@apps/files/tests/js/fileUploadSpec.js:63:15
apps/files/tests/js/fileUploadSpec.js:103:21
@georgehrke @ChristophWurst @nextcloud/javascript Could one of you help with the JS unit tests? That would be nice :) |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@LukasReschke @georgehrke @rullzer @nickvergessen Please re-review - I fixed it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me... altough I could not reproduce the original issue....