Project

General

Profile

Actions

Bug #21297

open

Have output formatter to look for title attribute

Added by Marek Hulán over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1496810

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:

No data to display

Actions

Also available in: Atom PDF