Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-38448

"hammer setting info" with nonexistent id => 'undefined method `name' for nil:NilClass"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.17.0, 6.18.0
    • Settings
    • False
    • sat-endeavour
    • None
    • None
    • None
    • None

      Description of problem:

      When I run command

      hammer setting info --id nonexistent 

      I get

      undefined method `name' for nil:NilClass

      How reproducible:

      Deterministic, reproduced on 6.18 and 6.17

      Is this issue a regression from an earlier version:

      No

      Steps to Reproduce:

      1. # hammer setting info --id nonexistent 

      Actual behavior:
      undefined method `name' for nil:NilClass

      Expected behavior:
      Exception caught, sensible error message

              Unassigned Unassigned
              lhellebr@redhat.com Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: