Created attachment 580733 [details] "The connection is reset" Description of problem: When uploading a big attachment to a case run, after a long time, the response of "The connection is reset" is given. Version-Release number of selected component (if applicable): tcms-stage - 3.7.0-1 How reproducible: 100% Steps to Reproduce: 1.Enter into a run. 2.Choose a case run and click Attachment "Add". 3.Choose a big attachment like 50M, then "Upload". Actual results: After a long time, the response of "The connection is reset" is given. Expected results: Uploaded successfully or Give warning that "The attachment is too big" to remind user the maximum size of the attachment that is required. Additional info:
provide warning info if the size is bigger than the limitation.
Thanks to HTML5 and jQuery we now can easy check the attachment's size before post to the server side.
Created attachment 600246 [details] connection is reset Verify 3.8.0-1 --> FAIL Description: The bug is still existed. It cannot remind the user that the attachment is bigger than the limitation. And it shows the error page after uploading a too big file. Verify steps: 1.Enter into a run. 2.Choose a case run and click Attachment "Add". 3.Choose a big attachment like 50M, then "Upload". Actual results: After a long time, the response of "The connection is reset" is given. Expected results: Uploaded successfully or Give warning that "The attachment is too big" to remind user the maximum size of the attachment that is required.
(In reply to comment #3) > Created attachment 600246 [details] > connection is reset > > Verify 3.8.0-1 --> FAIL Thanks for testing, and it's my mistake that I *only* added size-check on plan's attachment. Have fixed, can verify it in next build.
Verify 3.8.0-2 on stage --> PASS Verify steps: 1.Enter into a run. 2.Choose a case run and click Attachment "Add". 3.Choose a big attachment like 50M, then "Upload". Actual results: When the file is too big, it gives the warning.