Project

General

Profile

Actions

Bug #8892

closed

content-override does not produce an error when --label is missing

Added by Christine Fouant over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1173723
Description of problem:
when running activation-key content-override, you must include the label of the product being overridden. However, a user can currently run content-override without passing --label. Of course, no change is made.

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

How reproducible:
always

Steps to Reproduce:
1. create an activation key and add a subscription
2. run hammer -u admin -p ** activation-key content-override --id=<activation key id> --organization-id=<organization id>
3. view results

Actual results:
Command runs and returns "Updated content override"

Expected results:
An error should be returned informing the user that a product label is needed.

Additional info:

Actions #1

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 9 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 ()
Actions #3

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release changed from 23 to 31
Actions #4

Updated by Eric Helms about 9 years ago

  • Target version changed from 66 to 67
Actions #5

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release changed from 31 to 23
Actions #6

Updated by Christine Fouant about 9 years ago

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

Also available in: Atom PDF