Project

General

Profile

Bug #32861

hammer full-help fails if apidoc entry is not available

Added by Nadja Heitmann about 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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'`

Associated revisions

Revision 7c662269 (diff)
Added by Nadja Heitmann about 1 year ago

Fixes #32861 - prevent full-help from failure if apidoc not available (#574)

History

#1 Updated by Anonymous about 1 year ago

  • Status changed from New to Closed

#2 Updated by Oleh Fedorenko 9 months ago

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

Also available in: Atom PDF