-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Better timeout detection in web UI uploads + chunked uploads #28831
Conversation
it seems to break #28842 |
@VicDeo details please: steps to reproduce, etc |
note that the progress bar has an additional bug I found which I fixed here in additional commits: #28692. I suggest to first review this one then I'll rebase this timeout madness. |
Displays an error message on timeout.
f10288e
to
5bda4ee
Compare
Rebased. @VicDeo please recheck |
The tests decribed in the description work so far |
@PVince81 it just stuck in |
If @VicDeo has no more objections then 👍 |
stable10: #28896 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Detects timeouts during web UI uploads and displays a notification when it happens.
Also prevents the global ajax error detection to prevent the full page reload.
Related Issue
Motivation and Context
How Has This Been Tested?
fileUploadParam
. Addsleep(500)
inOCA\DAV\Connector\Sabre\File::put()
. Upload < 10 mb file. Notification about timeout appears.fileUploadParam
. Upload 100 mb file. Notification about timeout appears.sleep(500)
inapps/dav/lib/Upload/UploadFolder::createFile()
, upload 100 mb file. Notification appears after 2 minutessleep(500)
inapps/dav/lib/Upload/AssemblyStream::stream_open()
. Upload 100 mb file, wait. Notification appears after 2 minutes of stalling at the end of the progress bar.=> cannot test, it seems IE11 doesn't have a timeout on MOVE, only on PUT
Note: remove extra modifications between each test.
Screenshots (if appropriate):
Types of changes
Checklist: