Bug 1496810

Summary: Have output formatter to look for title attribute
Product: Red Hat Satellite Reporter: Sanket Jagtap <sjagtap>
Component: SCAP PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.3.0CC: mhulan, oprazak, sjagtap
Target Milestone: UnspecifiedKeywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-03 19:17:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sanket Jagtap 2017-09-28 13:03:11 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Build: Satellite 6.3 snap17 

How reproducible:
Always

Steps to Reproduce:
1.  hammer --output=csv -u admin -p changeme scap-content create --title="test" --scap-file="ssg-rhel6-ds.xml"
Message,Id
Scap content successfully created,18

We dont have a Title output for any create/update commands for scap-content

 Ondřej Pražák 2017-09-11 02:18:35 EDT

Hi,
scap content does not have a name, it has a title instead. The output formatter checks for id and name attributes and displays them automatically. As soon as we make output formatter for csv look for title attribute, this will display title as well


Actual results:
The output doesn't have title with csv,json,yaml formatters

Expected results:
It should show, have title field

Additional info:

Comment 2 Brad Buckingham 2017-09-28 17:09:27 UTC
Is there any adverse impact to the user given that the title attribute is omitted from output?

Comment 3 Sanket Jagtap 2017-09-29 05:22:51 UTC
I don't think so, this is just a usability issue, to keep uniformity between components.

The User can still get the information on created entity by displayed ID parameter in ouput, using the Info subcommand.

hammer scap-content info --id <id>

So, no not a functional blocker.

Comment 4 Marek Hulan 2017-10-11 10:49:42 UTC
Created redmine issue http://projects.theforeman.org/issues/21297 from this bug

Comment 5 Bryan Kearney 2018-10-03 19:17:26 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.