Bug 1314491 - /candlepin/<owner>/consumers API not filtering properly by sku
Summary: /candlepin/<owner>/consumers API not filtering properly by sku
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9.51
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Alex Wood
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-03 18:21 UTC by Jonathon Turel
Modified: 2016-07-22 14:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-22 14:39:48 UTC


Attachments (Terms of Use)

Description Jonathon Turel 2016-03-03 18:21:17 UTC
Description of problem:

Applying the 'sku' parameter (ex: /candlepin/owners/5394945?sku=SER0232US) always returns an empty set.


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


How reproducible: Always


Steps to Reproduce:
1. Attach a subscription to a consumer, noting the SKU
2. For that owner, query for consumers, filtering on that SKU using necessary attribute (?sku={SKU})


Actual results: 1 consumer should be returned

Expected results: 0 consumers returned


Additional info: I believe this is pending code review, waiting to be merged

Comment 1 Alex Wood 2016-03-03 19:29:04 UTC
Fixed in 8caba7d270b09abc5e64002e3e55c313a3c71b90

Comment 2 Mike McCune 2016-03-28 22:18:06 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Barnaby Court 2016-07-22 14:39:48 UTC
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.


Note You need to log in before you can comment on or make changes to this bug.