Bug #8833
closedUnable to update activation key by id
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1178928
Description of problem:
A user is required to provide an activation key's name, even if they provide the activation key's id, in order to update the key.
Version-Release number of selected component (if applicable):
Nightly
How reproducible:
Always
Steps to Reproduce:
1. Create an activation key
2. Obtain the id of the key and its organization
3. Run hammer activation-key update --max-content-hosts=5 --id=<x> --organization-id=<y>
Actual results:
[root@cloud-qe-9 ~]# hammer -u admin -p ** activation-key update --max-content-hosts=5 --id=1 --organization-id=1
Could not update the activation key:
Missing arguments for 'name'
Expected results:
[root@cloud-qe-9 ~]# hammer -u admin -p ** activation-key update --max-content-hosts=5 --id=1 --organization-id=1
Activation Key successfully updated
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Target version set to 63
- Pull request https://github.com/Katello/katello/pull/4897 added
- Pull request deleted (
)
Updated by Eric Helms about 10 years ago
- Translation missing: en.field_release set to 23
- Triaged changed from No to Yes
Updated by Christine Fouant about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ac237cac266b9580fcb9e52bf3348ab6af66d949.