When trying to upload a large file, after about 30s and exception is thrown, and dialog gets stuck in a pending state. In Upload.BookletLayout, the uploadPromise fails onto line 201, where it calls getErrorMessageForStateDetails. On line 262 stateDetails.error is undefined, so an exception is thrown on 268.
Description
Details
Related Objects
Event Timeline
There probably shouldn't be a timeout at all - it would help if we had a progress bar though.
Change 312010 had a related patch set uploaded (by Matthias Mullie):
Don't default to 30s timeout for file uploads
Change 310595 had a related patch set uploaded (by Bartosz Dziewoński):
mw.api.upload: Suppress default API call timeout
Per T141814, this is not causing exceptions today, but a nasty error message appears (and of course the upload doesn't succeed). Please file bugs related to the upload dialog in MediaWiki-Uploading (it is used by more than just VisualEditor).
Change 312010 abandoned by MarkTraceur:
Don't default to 30s timeout for file uploads
Reason:
Superseded by 310595, merged just now
Change 310595 merged by MarkTraceur:
mw.api.upload: Suppress default API call timeout