Project

General

Profile

Bug #9340

Activation Key content override accepts any value

Added by Christine Fouant about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1187750
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)."

Associated revisions

Revision bc668761 (diff)
Added by Christine Fouant about 8 years ago

fixes #8892, #9340 - Validates content label and override value, BZ1173723, BZ1187750

Revision 272ccaec
Added by Christine Fouant about 8 years ago

Merge pull request #5002 from cfouant/refactor-content-override

fixes #8892, #9340 - Validates content label and override value, BZ1173723, BZ1187750

History

#1 Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 66
  • Pull request https://github.com/Katello/katello/pull/5002 added
  • Pull request deleted ()

#2 Updated by Eric Helms about 8 years ago

  • Legacy Backlogs Release (now unused) set to 23
  • Triaged changed from No to Yes

#3 Updated by Eric Helms about 8 years ago

  • Target version changed from 66 to 67

#4 Updated by Christine Fouant about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF