Actions
Bug #23980
closedundefined method `meta' error seen when using --output table option with hammer cli
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1541178
- Description of problem:
when trying to get the output of hammer commands in a tabular format, the following error message is seen :-
- hammer --output table sync-plan info --id 3
---|---------------------------|---------------------|----------|---------|--------------------------------------------|---------------------|--------------------
ID | NAME | START DATE | INTERVAL | ENABLED | DESCRIPTION | CREATED AT | UPDATED AT
---|---------------------------|---------------------|----------|---------|--------------------------------------------|---------------------|--------------------
3 | custom 3rd party reposync | 2017/12/11 19:15:00 | daily | no | some custom 3rd party repositories to sync | 2017/11/15 14:15:58 | 2017/12/08 11:45:46
---|---------------------------|---------------------|----------|---------|--------------------------------------------|---------------------|--------------------
Error: undefined method `meta' for #<Array:0x00000002591cb0>
This message does not appear when using any other output format, other than table.
- Version-Release number of selected component (if applicable):
Katello 3.4.0
- How reproducible:
Always
1. Execute any hammer command with --output table option.
- hammer --output table sync-plan info --id 3
- Actual results:
Error message "Error: undefined method `meta' for #<Array:0x00000002591cb0>" is seen.
- Expected results:
No error message should be seen
Additional info:
Updated by Jonathon Turel over 6 years ago
- Description updated (diff)
- Translation missing: en.field_release set to 338
Updated by Amit Karsale over 6 years ago
- Project changed from Katello to Hammer CLI
- Category deleted (
Hammer)
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/278 added
Updated by Tomáš Strachota over 6 years ago
- Category set to Hammer core
- Status changed from Ready For Testing to Closed
- Translation missing: en.field_release deleted (
338) - Pull request https://github.com/theforeman/hammer-cli/pull/256 added
This issue has been fixed as part of https://github.com/theforeman/hammer-cli/pull/256
Actions