Bug 1279464

Summary: URL parameters not checked for validation
Product: Red Hat Satellite Reporter: Peter Vreman <peter.vreman>
Component: Content ViewsAssignee: Walden Raines <walden>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.3CC: bbuckingham, bkearney, cwelton, walden
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-08 19:11:49 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:
Bug Depends On:    
Bug Blocks: 1122832    
Attachments:
Description Flags
all content view versions listing with invalid ID none

Description Peter Vreman 2015-11-09 14:14:45 UTC
Created attachment 1091759 [details]
all content view versions listing with invalid ID

Description of problem:
The URL parameters are not checked for validation if the ID really exists. Instead it sometimes continues to run on the all resources instead of a single resource item

Having an invalid ID can happen when you still have the UI open on that ID, but in an other session or through the API the Item is deleted.

Simple reproduction is to use a value of 9999

Example of content view versions with ID 9999 is attached in screenshot
/content_views/9999/versions



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


How reproducible:


Steps to Reproduce:
1. Use invalid ID (e.g. 9999) in the URLs
2.
3.

Actual results:
Unpredictable results, e.g. listing of all items

Expected results:
Failure that the identifier cannot be found


Additional info:

Comment 2 Walden Raines 2016-03-08 19:11:49 UTC
This is a duplicate of bug #1257586.

*** This bug has been marked as a duplicate of bug 1257586 ***