View Issue Details

IDProjectCategoryView StatusLast Update
0014113mantisbtattachmentspublic2014-01-23 17:58
Reporterdregad Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.2.10 
Summary0014113: Poor error handling when attaching multiple files and at least one upload fails
Description

Following implementation of multi-file upload in 0005228, the error handling for simultaneous upload of several files is not satisfactory.

When one of the files fails to upload, an error message is displayed, requiring the user to hit the back button. In fact, the other files are uploaded successfully. This behavior is confusing to users, and furthermore if you do the same thing when reporting a new issue and then resubmit, you get duplicate issues (see 0003759)

Steps To Reproduce

config_inc.php

$g_file_upload_max_num = 3;
$g_max_file_size = 1000;

a. attach several documents: file1, size < 1000; file2, size > 1000; file3, size < 1000
b. click upload - you get Error 500 (File upload failed) as expected
c. click back button
d. refresh page
e. file1 was uploaded successfully, file2 and file3 were not

Additional Information

See experimental (work-in-progress) branches on github
https://github.com/dregad/mantisbt/tree/upload-err-hndl
https://github.com/dregad/mantisbt/tree/upload-err-conv

TagsNo tags attached.

Relationships

related to 0005228 closeddregad Attaching multiple files in one go. 
related to 0003759 confirmed Duplicate bug is created when resubmitting after file upload failure 

Activities

There are no notes attached to this issue.