Project

General

Profile

Bug #4129

sc_param info => undefined method `[]' for nil:NilClass

Added by Dominic Cleal almost 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem:
sc_param info command is failing

Version-Release number of selected component (if applicable):
  1. rpm -qa | grep foreman
    rubygem-hammer_cli_foreman-0.0.15-1.el6.noarch
    foreman-compute-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    foreman-installer-1.4.0-0.develop.201312272053gitbc2acd9.el6.noarch
    foreman-release-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    foreman-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    foreman-ovirt-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    foreman-proxy-1.4.0-0.develop.201312091021git42bab91.el6.noarch
    foreman-postgresql-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    rubygem-foreman_api-0.1.9-1.el6.noarch
    foreman-libvirt-1.4.0-0.develop.201401011454git1245d23.el6.noarch
    foreman-selinux-1.4.0-0.develop.201311220906gite342a0b.el6.noarch

How reproducible:
everytime

Steps to Reproduce:
1.# hammer sc_param info --id 18
Error: undefined method `[]' for nil:NilClass

2.
3.

Actual results:
sc_param throws some error

Expected results:
sc_params displays appropriate output

(https://bugzilla.redhat.com/show_bug.cgi?id=1047794)


Related issues

Has duplicate Hammer CLI - Bug #4471: Hammer - sc_param info gives Error: undefined method `[]' for nil:NilClassDuplicate2014-02-27

History

#1 Updated by Dominic Cleal almost 8 years ago

  • Has duplicate Bug #4471: Hammer - sc_param info gives Error: undefined method `[]' for nil:NilClass added

#3 Updated by Dominic Cleal almost 8 years ago

  • Assignee set to Stephan Dollberg
  • Target version set to 1.9.1

Also available in: Atom PDF