Project

General

Profile

Actions

Bug #32861

closed

hammer full-help fails if apidoc entry is not available

Added by Nadja Heitmann about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Found in Releases:
In Kanboard:

Description

`hammer full-help` fails if apidoc entry is not available, e.g. if hammer-cli-foreman version does not match the current Foreman version.

Error:
NoMethodError (undefined method `[]' for nil:NilClass):
/home/vagrant/hammer-cli-foreman/lib/hammer_cli_foreman/commands.rb:297:in `help'
home/vagrant/hammer-cli/lib/hammer_cli/full_help.rb:26:in `print_help'`

Actions #1

Updated by Anonymous about 3 years ago

  • Status changed from New to Closed
Actions #2

Updated by Oleh Fedorenko over 2 years ago

  • Assignee set to Nadja Heitmann
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/574 added
  • Fixed in Releases hammer-cli-foreman-3.0.0, hammer-cli-foreman-3.1.0, hammer-cli-foreman-3.2.0 added
Actions

Also available in: Atom PDF