Project

General

Profile

Actions

Bug #26865

closed

command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass"

Added by Oleh Fedorenko almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1712914

Description of problem:
command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass"

Version-Release number of selected component (if applicable):
@Satellite 6.6.0 snap 3
@tfm-rubygem-hammer_cli-0.17.1-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. Run # hammer full-help

Actual results:
- gives full-help output till "hammer > docker > container > info" command after that shows error "Error: undefined method `action' for false:FalseClass"

Expected results:
- command 'hammer full-help' should run without any error and provide complete full-help output.

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #26864: command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass"DuplicateActions
Actions #1

Updated by Oleh Fedorenko almost 5 years ago

The problem is in hammer-cli-foreman-docker plugin which is being installed alongside with hammer-cli-katello.

Since foreman_docker is not maintained anymore [1] I guess we should drop support for it in the future hammer versions as well (hammer-cli-katello has hammer-cli-foreman-docker as dependency [2]). Removing it from there should remove all the docker commands hence this bug will not reproducible.

[1] https://github.com/theforeman/foreman_docker
[2] https://github.com/Katello/hammer-cli-katello/blob/1eb1b7948377760e26ecc69030a5cba387e8bc90/hammer_cli_katello.gemspec#L53

Actions #2

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Difficulty set to trivial
  • Triaged changed from No to Yes
Actions #3

Updated by Oleh Fedorenko almost 5 years ago

  • Has duplicate Bug #26864: command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass" added
Actions #4

Updated by The Foreman Bot almost 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/421 added
Actions #5

Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/theforeman/hammer-cli/pull/304 added
Actions #6

Updated by Oleh Fedorenko almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF