Project

General

Profile

Bug #19371

hammer --noncomposite ignores the value passed to it and always removed composite views

Added by Anand Agrawal about 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

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

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:

Associated revisions

Revision c47afc3d (diff)
Added by aagrawal about 2 years ago

Fixes #19371 - Hammer and API ignores noncomposite boolean value

History

#1 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6763 added

#2 Updated by John Mitsch about 2 years ago

  • Legacy Backlogs Release (now unused) set to 228

#3 Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms about 2 years ago

  • Legacy Backlogs Release (now unused) changed from 228 to 211

Also available in: Atom PDF