Bug 1428384 - spacecmd system_details - when specifying system by ID, its Name is displayed as its ID rather that actual name
Summary: spacecmd system_details - when specifying system by ID, its Name is displayed...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2017-03-02 13:15 UTC by Lukáš Hellebrandt
Modified: 2017-06-21 12:08 UTC (History)
1 user (show)

Fixed In Version: spacecmd-2.5.0-8-sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:08:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lukáš Hellebrandt 2017-03-02 13:15:34 UTC
Description of problem:
When I call system_details and specify the system using ID, it shows "Name: <ID>" rather than "Name: <Name>"

How reproducible:
Deterministic

Steps to Reproduce:

spacecmd {SSM:0}> system_details abcd
Name:          abcd
System ID:     1000010057
[...]
spacecmd {SSM:0}> system_details 1000010057
Name:          1000010057
System ID:     1000010057
[...]



Actual results:
ID displayed instead of name

Expected results:
Name should be displayed

Comment 1 Tomáš Kašpárek 2017-03-02 13:59:34 UTC
spacewalk.git(master): 2d147c700a74b2f0359b3500ca82797ae2e8e75c

Comment 4 Lukáš Hellebrandt 2017-03-07 09:53:54 UTC
Verified with spacecmd-2.5.0-9.


Note You need to log in before you can comment on or make changes to this bug.