Actions
Bug #25180
closedProviding custom=false to products controller does not filter out custom products
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
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
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
Updated by John Mitsch over 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|22220f49331b3e2d4580ffe551b86ed76050f176.
Actions