Bug 816963 - [TestRun]When uploading a big attachment to a case run, "The connection is reset"
[TestRun]When uploading a big attachment to a case run, "The connection is re...
Status: VERIFIED
Product: TCMS
Classification: Other
Component: Application (Show other bugs)
3.7.0
Unspecified Linux
medium Severity medium
: ---
: 3.8.0
Assigned To: Yang Ren
tools-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-27 07:15 EDT by Guoping Feng
Modified: 2016-05-26 09:20 EDT (History)
5 users (show)

See Also:
Fixed In Version: 3.8.0-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
"The connection is reset" (21.05 KB, application/xhtml+xml)
2012-04-27 07:15 EDT, Guoping Feng
no flags Details
connection is reset (86.75 KB, image/png)
2012-07-25 05:09 EDT, xubai
no flags Details

  None (edit)
Description Guoping Feng 2012-04-27 07:15:47 EDT
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:
Comment 1 yawei Li 2012-05-16 04:07:18 EDT
provide warning info if the size is bigger than the limitation.
Comment 2 Xiangyang Chu 2012-07-20 00:56:06 EDT
Thanks to HTML5 and jQuery we now can easy check the attachment's size before post to the server side.
Comment 3 xubai 2012-07-25 05:09:57 EDT
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.
Comment 4 Xiangyang Chu 2012-07-26 00:36:14 EDT
(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.
Comment 5 xubai 2012-07-31 02:37:34 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.