View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025763 | mantisbt | attachments | public | 2019-05-15 19:41 | 2019-06-14 02:39 |
Reporter | TomekAP | Assigned To | atrol | ||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.21.0 | ||||
Target Version | 2.21.1 | Fixed in Version | 2.21.1 | ||
Summary | 0025763: File upload timeout | ||||
Description | Since last updates timeout of uploading files in Dropzone was added, now it is 30000 milliseconds. Sometimes when you want to send larger files, like 1GB, timeout occurs and you are unable to send totally files. | ||||
Tags | No tags attached. | ||||
@TomekAP you could try to undo the following change https://github.com/mantisbt/mantisbt/commit/9efa27c9a2512c77ce53cae910ce8290f643c80d |
|
@atrol no, it will not help in file dropzone.min.js is timeout ...,timeout:3e4,...., now 30 seconds, so you have 30 seconds to upload a file, and timeout is not configurable. |
|
Did you try my proposal?
Which version did you use before? |
|
Yes, I have commented that line at id didn`t help. For example version 2.19.1 has dropzone in version of 4.3.0, it doesn`t contain timeout, so upload is possible |
|
This means we would have to introduce one more configuration option in Mantis to be able to configure Dropzone |
|
or set this option default to quite big value |
|
The default is set in a 3rd party component. Be also aware that there is option You could try to ask the author to change the default setting, but I assume he will reject as the value can be changed by configuration. As long as there is no change in library
|
|
The timeout can be increased in js/common.js by adding |
|
The right way to deal with the timeout would be to present some message to the user. |
|
Implemented PR for that https://github.com/mantisbt/mantisbt/pull/1520 More users are encountering this issue, e.g. https://mantisbt.org/forums/viewtopic.php?f=3&t=26371 |
|