Bug 1145463

Summary: [Test Case | Attachment] Can't remove and view the attachments with exceptions in the console.
Product: [Other] TCMS Reporter: Tingting Zhao <tzhao>
Component: ApplicationAssignee: Yang Ren <ryang>
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.8.11CC: cqi, junzhang, leiwang, ryang, vchen
Target Milestone: ---   
Target Release: 3.8.11   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 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: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
there are some exceptions in the console and the attachments can't be removed
none
400 error when viewing the attachments none

Description Tingting Zhao 2014-09-23 07:07:58 UTC
Created attachment 940291 [details]
there are some exceptions in the console and the attachments can't be removed

Description of problem:
as summary.

Version-Release number of selected component (if applicable):
v3.8.11-1 on qa server.

How reproducible:
sometimes.

Steps to Reproduce:
1.open the test case.https://tcms.app.qa.eng.nay.redhat.com/case/359542/?from_plan=13569#
2.then remove or view the attachments belonging to the case.
Check the result both in the console and whether the attachments can be removed or viewed.

Actual results:
1.Remove the attachments,there are 301 and 500 errors in the console and the attachments would not be removed from the case.
2.View the attachments,it would be 404 error about not found.

Expected results:
1.the attachments should can be removed 
2.the attachments should can be viewed.

Additional info:

Comment 1 Tingting Zhao 2014-09-23 07:08:34 UTC
Created attachment 940293 [details]
400 error when viewing the attachments

Comment 2 Xu Lei 2014-09-23 10:57:19 UTC
the attachments do not exist in /var/nitrate/uploads/, but there were records in db.

Comment 3 Tingting Zhao 2014-10-23 05:28:31 UTC
verify on qa server with version 3.8.11-2:pass
verify steps are the same as the description.
And the page would redirect to 404 error cause the file does not exist in the db.but we can delete the non-existed attachments.