Bug 1026205

Summary: [TestRun] Using the url to open a deleted run, 404 error page is shown
Product: [Other] TCMS Reporter: Chen Chen <chechen>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: CLOSED NOTABUG QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.8.5CC: aigao, cqi, ctang, dli, jianchen, junzhang, jzhao, nli, vchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-05 07:00:41 UTC 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:

Description Chen Chen 2013-11-04 08:13:47 UTC
Description of problem:
As summary.

Version-Release number of selected component (if applicable):
3.8.5

How reproducible:
100%

Steps to Reproduce:
Using the url to open a deleted run

Actual results:
404 error page is shown

Expected results:
TCMS tell the user this run is deleted, and give the link to go to home page.

Comment 1 cqi 2013-11-04 10:25:35 UTC
Are you sure it's necessary to tell user the concrete reason why a TestRun does not exists, or any other object, such as TestPlan and TestCase, don't exist. 404 page is just being used to describe the fact that a requested resource does not exists, whatever reason causes the fact, for example deleted, disabled, or just hided temporarily.

In my opinion, the status code 404 in HTTP protocol can be treated as a notification against an error. It just tells requester the requested resource does not exist. Based on this opinion, what do you think to redesign the 404 page to provide more friendly messages rather than some simple error words.

Resources to many cool designs, https://www.google.com.hk/search?q=interesting+404+page&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a