Bug 1470251
Summary: | Anding of multiple filters does not product the required results | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Allen W <awight> |
Component: | API | Assignee: | Tim Wade <twade> |
Status: | CLOSED NOTABUG | QA Contact: | Martin Kourim <mkourim> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | awight, jhardy, obarenbo, twade |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | rest:filter | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-19 17:55:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Allen W
2017-07-12 15:25:21 UTC
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set it to Low/Low. This looks to be a problem with the nature of the relationships being queried. I think officially we do not support queries like that based on one-to-many relationships. What it translates to is "find me all rows where the tag name is /managed/environment/dev AND /managed/location/ny", and since there are no rows where the tag name can be two different things it yields 0 results. I can see that might be two actions to take on this: 1. We should update the documentation to make this limitation more clear 2. An API that wraps "CONTAINS" - type expressions would be a useful enhancement DOH 2. would be what we're looking for, so not a bug, looking like something we should shelve for the time being |