Bug 1720753

Summary: Advanced Search Filter doesn't work when more than 1 different conditions[AND|OR|NOT] are used
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Angelina Vasileva <anikifor>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.0CC: anikifor, bmidwood, cbolz, dmetzger, gekis, hkataria, jprause, lavenel, mpovolny, obarenbo, phoffmann
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.6.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1660460 Environment:
Last Closed: 2019-07-02 04:33:28 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: 1660460    
Bug Blocks:    

Comment 2 CFME Bot 2019-06-14 20:05:31 UTC
New commits detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/581d68f438469225b9d95426ce15d304db7f3d50
commit 581d68f438469225b9d95426ce15d304db7f3d50
Author:     Keenan Brock <keenan>
AuthorDate: Thu May  2 11:54:38 2019 -0400
Commit:     Keenan Brock <keenan>
CommitDate: Thu May  2 11:54:38 2019 -0400

    Merge pull request #18709 from d-m-u/fixing_arel_node_grouping_for_and

    Group AND expressions properly to account for nesting

    (cherry picked from commit 5c506fda3951e5efb724385aca145f5877ae6525)

    https://bugzilla.redhat.com/show_bug.cgi?id=1720753

 lib/miq_expression.rb | 2 +-
 spec/lib/miq_expression_spec.rb | 34 +-
 2 files changed, 27 insertions(+), 9 deletions(-)


https://github.com/ManageIQ/manageiq/commit/8e31216c10fe109043267b82e0903ff0a1f2cb94
commit 8e31216c10fe109043267b82e0903ff0a1f2cb94
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Fri Jun 14 10:51:10 2019 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Fri Jun 14 10:51:10 2019 -0400

    Merge pull request #18867 from h-kataria/mixed_operator_conditions_fix

    assign value to a variable and return at the end.

    (cherry picked from commit 0466cd65679de80ca08eda54d6cccb2f6b0d49c9)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1720753

 lib/miq_expression/subst_mixin.rb | 14 +-
 spec/lib/miq_expression/subst_mixin_spec.rb | 34 +
 2 files changed, 43 insertions(+), 5 deletions(-)

Comment 3 Angelina Vasileva 2019-06-25 10:37:19 UTC
Fixed and verified in 5.10.6.1.20190621202107_58f5bbc

Comment 4 Harpreet Kataria 2019-06-25 16:17:36 UTC
*** Bug 1718895 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2019-07-02 04:33:28 UTC
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/RHBA-2019:1644