Bug 1540699
Summary: | Selecting filter with "expression Service: Aggregate All Vm Cpus" results in exception | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
Component: | API | Assignee: | Nick LaMuro <nlamuro> |
Status: | CLOSED ERRATA | QA Contact: | Matouš Mojžíš <mmojzis> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.9.0 | CC: | cpelland, hkataria, lavenel, mmojzis, mpovolny, nlamuro, obarenbo, simaishi |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | ui:filter | ||
Fixed In Version: | 5.8.3.3 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1539710 | Environment: | |
Last Closed: | 2018-02-28 13:13:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | CFME Core | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1539710 | ||
Bug Blocks: |
Comment 2
CFME Bot
2018-02-01 15:02:15 UTC
Nick, how can I verify this in 5.8 when there are no filters in My Services? Thanks Matouš, Here is how I was able to reproduce the error pre patch (and with the patch, it no longer is reproducible): 1. Login and got to the Services -> My Services page: 2. Select the Advanced Search button (the double 'v' down arrow, to the right of the searchbox and magnifying glass button) 3. Select the following from the dropdowns in order: - "Field" - "Service: Aggrigate All Vm Cpus - ">" (any operator would work, but I choose this) - "100" (again, any value would work here) 4. Click the checkmark above the search filter to apply it to the search 5. Click "Apply" From here, you should get an error if the patch is not applied, otherwise you will get the updated search results. Verified in 5.8.3.3.I ran in rails console command 'MiqExpression.new("=" => {"field" => "Service-aggregate_all_vm_cpus", "value" => "454"}).to_sql' without errors. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0374 |