Bug 1315249 - hammer --noncomposite ignores the value passed to it and always removed composite views
Summary: hammer --noncomposite ignores the value passed to it and always removed compo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.1.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Shimon Shtein
URL:
Whiteboard:
Depends On:
Blocks: 1317008
TreeView+ depends on / blocked
 
Reported: 2016-03-07 11:15 UTC by Stuart Auchterlonie
Modified: 2021-03-11 14:30 UTC (History)
7 users (show)

Fixed In Version: tfm-rubygem-katello-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:51:07 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19371 0 None None None 2017-04-25 10:16:38 UTC

Description Stuart Auchterlonie 2016-03-07 11:15:23 UTC
Description of problem:

If you include --noncomposite on the hammer command line when listing
content views, the composite views get removed, regardless of what
value you passed to --noncomposite


Version-Release number of selected component (if applicable):

Satellite 6.1.7

How reproducible:

100%

Steps to Reproduce:
1. hammer --username admin --password redhat content-view list --organization-id=1
2. hammer --username admin --password redhat content-view list --organization-id=1 --noncomposite 1
3. hammer --username admin --password redhat content-view list --organization-id=1 --noncomposite 0

Actual results:

at step 3, no composite views are included

Expected results:

Composite views should be included when --noncomposite
is set to false, no, or 0

Composite views should not be included when --noncomposite
is set to true, yes or 1

Additional info:

Comment 5 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2016-07-26 15:33:29 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 8 Satellite Program 2017-05-03 00:11:44 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19371 has been resolved.

Comment 10 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


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