Bug 1304987

Summary: Should prompt non-exist error info on resource page when user got 404 in accessing resources
Product: OKD Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
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: 2016-05-12 17:11:07 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:
Attachments:
Description Flags
NoErrorWhenGot404
none
ErrorInfoDisplayed none

Description Yadan Pei 2016-02-05 08:28:10 UTC
Created attachment 1121296 [details]
NoErrorWhenGot404

Description of problem:
On web console, when accessing resources already deleted or not exist will got 404 response from server, except for result code 404, should also show non-exist error message on resource page, such us "The <requested resource> details could not be loaded.Reason: <requested resource>" <requested resource value>" not found"on resource page

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

How reproducible:
Always

Steps to Reproduce:
1. Access non-exist buildconfig via URL https://<server>:8443/console/project/yapei-test/browse/builds/ruby-sample-build-445
2. Access deleted deploymentconfig via URL https://openshift-107.lab.sjc.redhat.com:8443/console/project/yapei-test/browse/deployments/frontend 

Actual results:
1-2. Blank page returned, refer to attachment      

Expected results:
1-2. Should show error info on resource pages,refer to attachment 

Additional info:

Comment 1 Yadan Pei 2016-02-05 08:28:45 UTC
Created attachment 1121297 [details]
ErrorInfoDisplayed

Comment 2 Jessica Forrester 2016-02-08 15:05:07 UTC
fixed as part of another PR, "Loading..." messages were also not appearing on some pages

Comment 3 Yadan Pei 2016-02-14 01:50:47 UTC
checked on devenv-rhel7_3419, issue is fixed