Actions
Bug #21590
closedHammer should end with error when unknown output adapter is selected
Difficulty:
trivial
Triaged:
No
Pull request:
Team Backlog:
Description
Hammer defaults to 'base' output adapter if it can't find adapter specified in --output:
hammer --output=unknown user list Id: 3 Login: admin Name: Admin User Email: root@example.com Admin: yes Last login: 2017/10/20 11:21:39 Authorized by: Internal Id: 52 Login: ipa_bob Name: Bob Doe Email: ipa_bob@ipa.test Admin: no Last login: 2017/07/13 12:36:02 Authorized by: FreeIPA ldap
This is quite confusing behavior, especially when user passes 'yml' instead of the only supported 'yaml'. Both outputs aren't that different at a first glance.
Expected result:
Hammer should end with error instead, informing that the adapter name is unknown and listing the available ones.
Updated by Tomáš Strachota about 7 years ago
- Related to Tracker #2823: Tracker for usability issues added
Updated by yifat makias about 5 years ago
- Status changed from New to Assigned
- Assignee set to yifat makias
Updated by The Foreman Bot about 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/445 added
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/446 added
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/hammer-cli/pull/315 added
Updated by The Foreman Bot about 5 years ago
- Fixed in Releases hammer-cli-0.19.0 added
Updated by yifat makias about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 3fcf76dd973825b19ed0912074cbc0e6a9adc47a.
Actions