Project

General

Profile

Actions

Bug #25180

closed

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

Added by Walden Raines almost 6 years ago. Updated over 5 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 #1

Updated by Walden Raines almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by Michael Johnson almost 6 years ago

  • Assignee set to John Mitsch
  • Target version set to Katello 3.10.0
  • Triaged changed from No to Yes
Actions #3

Updated by Andrew Kofink almost 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 #4

Updated by Christine Fouant almost 6 years ago

  • Target version changed from Katello 3.10.0 to Katello 3.11.0
Actions #5

Updated by Jonathon Turel over 5 years ago

  • Target version changed from Katello 3.11.0 to Katello 3.11.1
  • Team Backlog Brad added
Actions #6

Updated by The Foreman Bot over 5 years ago

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

Updated by John Mitsch over 5 years ago

  • Bugzilla link set to 1667129
Actions #8

Updated by John Mitsch over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #9

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/Katello/katello/pull/7936 added
Actions #10

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/Katello/katello/pull/7938 added
Actions

Also available in: Atom PDF