Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1496810 - Have output formatter to look for title attribute
Summary: Have output formatter to look for title attribute
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SCAP Plugin
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-28 13:03 UTC by Sanket Jagtap
Modified: 2018-10-03 19:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-03 19:17:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21297 0 Normal New Have output formatter to look for title attribute 2020-08-07 07:04:07 UTC

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.


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