Project

General

Custom queries

Profile

Actions

Bug #25180

closed

Providing custom=false to products controller does not filter out custom products

Added by Walden Raines over 6 years ago. Updated over 6 years ago.


Description

If I provide custom=false I still get custom products, see: https://github.com/Katello/katello/blob/b7dc5d44d9d2af3b64a0c063a67f1e810be891cb/app/controllers/katello/api/v2/products_controller.rb#L50

Steps to Reproduce

  • Access products API with custom=false (or any other value for that matter) - /katello/api/v2/organizations/1/products/?custom=false
  • Notice that only custom products are returned regardless of the value supplied to custom
Actions #3

Updated by Andrew Kofink over 6 years ago

  • Found in Releases Katello 3.4.0, Katello 3.4.1, Katello 3.4.2, Katello 3.4.3, Katello 3.4.4, Katello 3.4.5, Katello 3.4.6, Katello 3.5.0, Katello 3.5.1, Katello 3.5.2, Katello 3.5.3, Katello 3.6.0, Katello 3.6.1, Katello 3.7.0, Katello 3.7.1, Katello 3.8.1, Katello 3.8.2, Katello 3.9.0, Katello 3.9.1 added

This behavior is also present in releases as early as 3.4

Actions #8

Updated by John Mitsch over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF