Project

General

Profile

Actions

Bug #13837

closed

Missing filter on listing only composite content views

Added by Partha Aji about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1177765
Description of problem:
The current noncomposite filter is only a filter that allows excluding of the composite content views. It is not possible to retrieve only the composite content views instead. This is therefor a strange filter, it would be more intuitive and consistent to have a "composite" filter, when set then check if the composite value matches.

  1. curl -K /opt/hoici/etc/curl-hoici.conf -H 'Content-Type: application/json' -d '{"per_page":9999,"noncomposite":false}' -XGET https://localhost/katello/api/v2/organizations/4/content_views | jq .results[].composite
    true
    null
    null
    null
    null
    null
    true
    null
    null
    true
    null
    null
    null
    null

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

How reproducible:

Steps to Reproduce:
1. Create a Composite Content View
2. Create a regular content view
3. List only the composite content view

Actual results:
regular content view is also included

Expected results:
only composite content views are listed

Additional info:

Actions #1

Updated by The Foreman Bot about 8 years ago

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

Updated by David Davis about 8 years ago

  • Assignee changed from Partha Aji to David Davis
Actions #3

Updated by David Davis about 8 years ago

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

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF