Bug 1279464 - URL parameters not checked for validation
Summary: URL parameters not checked for validation
Keywords:
Status: CLOSED DUPLICATE of bug 1257586
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.1.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2015-11-09 14:14 UTC by Peter Vreman
Modified: 2016-03-08 19:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-08 19:11:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
all content view versions listing with invalid ID (365.00 KB, image/png)
2015-11-09 14:14 UTC, Peter Vreman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1257586 0 unspecified CLOSED No error that resource cannot be found 2021-02-22 00:41:40 UTC

Internal Links: 1257586

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 ***


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