Bug 1784097

Summary: Creating a filter with a blank field triggers a 500 error
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Angelina Vasileva <anikifor>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: dmetzger, hstastna, jocarter, mfeifer, mshriver, obarenbo, simaishi, smallamp, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.2Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.11.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1741243 Environment:
Last Closed: 2020-02-12 05:02:24 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: 1741243    
Bug Blocks:    

Comment 2 CFME Bot 2019-12-16 20:33:31 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/630d4d7e622a5f4c51a62b61d562162b2313a539
commit 630d4d7e622a5f4c51a62b61d562162b2313a539
Author:     Keenan Brock <keenan>
AuthorDate: Thu Aug 22 15:35:01 2019 -0400
Commit:     Keenan Brock <keenan>
CommitDate: Thu Aug 22 15:35:01 2019 -0400

    Merge pull request #19176 from yrudman/remove-not-expected-token-when-initializiing-miq-expression

    Do not raise error in MiqExpression#to_sql if (:token) present as one of operators

    (cherry picked from commit 4c3904032d184eff1fb6aabe8c19bc73892b556e)

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

 lib/miq_expression.rb | 1 +
 spec/lib/miq_expression_spec.rb | 15 +
 2 files changed, 16 insertions(+)

Comment 3 CFME Bot 2019-12-16 20:33:56 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/630d4d7e622a5f4c51a62b61d562162b2313a539
commit 630d4d7e622a5f4c51a62b61d562162b2313a539
Author:     Keenan Brock <keenan>
AuthorDate: Thu Aug 22 15:35:01 2019 -0400
Commit:     Keenan Brock <keenan>
CommitDate: Thu Aug 22 15:35:01 2019 -0400

    Merge pull request #19176 from yrudman/remove-not-expected-token-when-initializiing-miq-expression

    Do not raise error in MiqExpression#to_sql if (:token) present as one of operators

    (cherry picked from commit 4c3904032d184eff1fb6aabe8c19bc73892b556e)

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

 lib/miq_expression.rb | 1 +
 spec/lib/miq_expression_spec.rb | 15 +
 2 files changed, 16 insertions(+)

Comment 4 Angelina Vasileva 2020-01-16 12:44:43 UTC
Fixed and verified in 5.11.2.0.20200113212029_18edbd8

Comment 6 errata-xmlrpc 2020-02-12 05:02:24 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-2020:0452