Project

General

Profile

Actions

Bug #5028

closed

`hammer subscription list --organization-id` is supposed to consume organization ID, but consumes organization LABEL

Added by Bryan Kearney about 10 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1082777
Description of problem:
`hammer subscription list --organization-id` is supposed to consume organization ID, but consumes organization LABEL

Version-Release number of selected component (if applicable):
rubygem-hammer_cli-0.1.0-4.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. # hammer organization list
---|------------------|------------------|------------------------------
ID | NAME | LABEL | DESCRIPTION
---|------------------|------------------|------------------------------
1 | ACME_Corporation | ACME_Corporation | ACME_Corporation Organization
---|------------------|------------------|------------------------------
2. # hammer subscription list -h
Usage:
hammer subscription list [OPTIONS]

Options:
--activation-key-id ACTIVATION_KEY_ID Activation key ID
--organization-id ORGANIZATION_ID Organization ID <<< note this
--system-id SYSTEM_ID UUID of the system
-h, --help print help
3. # hammer subscription list --organization-id 1
Couldn't find organization '1'
4. # hammer subscription list --organization-id ACME_Corporation
No data.

Actual results:
When you give organization ID, hammer claims "Couldn't find organization..."

Expected results:
Maybe option should be renamed to:

--organization-label ORGANIZATION_LABEL Organization label

?

Actions #1

Updated by Anonymous almost 10 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:6d5f539455f742c2d00a6b55aa714b68f52d1179.

Actions #2

Updated by Eric Helms almost 10 years ago

  • Target version set to 44
Actions #3

Updated by Eric Helms almost 10 years ago

  • Triaged set to Yes
Actions #4

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF