Bug 1187750

Summary: Activation Key content override accepts any value
Product: Red Hat Satellite Reporter: jcallaha
Component: HammerAssignee: Christine Fouant <cfouant>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, cfouant, jmontleo
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9340
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:23:11 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: 1188305    
Attachments:
Description Flags
hammer session none

Description jcallaha 2015-01-30 19:20:09 UTC
Created attachment 986212 [details]
hammer session

Description of problem:
When overriding the product content of an activation key, a user is able to supply any value and get a positive confirmation message back.

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

How reproducible:
always

Steps to Reproduce:
1. Create an activation key, attach subscriptions with products
2. Attain information needed for command
3. Supply a bad value for the content-override (good values: 1/0, true/false, on/off)
4. View results

Actual results:
"Updated content override" returned for bad values. See attached image

Expected results:
"Please enter a correct override value (i.e 1/0, true/false, on/off)."

Comment 1 RHEL Program Management 2015-01-30 19:33:20 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Christine Fouant 2015-02-11 15:41:57 UTC

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

Comment 4 Christine Fouant 2015-02-11 18:35:50 UTC
Created redmine issue http://projects.theforeman.org/issues/9340 from this bug

Comment 5 Bryan Kearney 2015-02-25 17:04:56 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9340 has been closed
-------------
Christine Fouant
Applied in changeset commit:katello|bc66876163e0cd5f6ccaaaf7223f990147aea9d5.

Comment 8 jcallaha 2015-03-06 18:30:45 UTC
Verified in Satellite 6.1.0 snap 5.

Version tested:
RHEL 66
RHEL 7

Comment 9 Bryan Kearney 2015-08-11 13:20:03 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 errata-xmlrpc 2015-08-12 05:23:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:1592