Bug 1249730
| Summary: | Running reports produces different errors each time | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ramesh A <rananda> |
| Component: | -- Unknown | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED ERRATA | QA Contact: | Ramesh A <rananda> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | obarenbo, simaishi |
| Target Milestone: | GA | ||
| Target Release: | 5.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.5.0.8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-08 13:25:33 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
Ramesh A
2015-08-03 16:28:12 UTC
Pull request: https://github.com/ManageIQ/manageiq/pull/3806 New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/7f2e2f0851c15668dd780676e85f9aa781acb06b commit 7f2e2f0851c15668dd780676e85f9aa781acb06b Author: Gregg Tanzillo <gtanzill> AuthorDate: Mon Aug 17 10:22:47 2015 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Mon Oct 26 22:35:17 2015 -0400 Reinstated code that evaluates ruby expression in conditions. This is required for supporting find/check expressions that can be created in the reporting UI filter tab. https://bugzilla.redhat.com/show_bug.cgi?id=1249730 app/models/condition.rb | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/af418714eb97e84d07def3e552012cd5fe24672f commit af418714eb97e84d07def3e552012cd5fe24672f Author: Gregg Tanzillo <gtanzill> AuthorDate: Mon Aug 17 10:31:20 2015 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Mon Oct 26 22:43:11 2015 -0400 Robocop - updated to use stabby lambda. https://bugzilla.redhat.com/show_bug.cgi?id=1249730 spec/models/condition_spec.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/8a19b2de5d635e7084ee77f20c11202bce877033 commit 8a19b2de5d635e7084ee77f20c11202bce877033 Author: Gregg Tanzillo <gtanzill> AuthorDate: Tue Sep 1 14:37:56 2015 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Mon Oct 26 22:43:28 2015 -0400 Restricted operator in check expression to one of == != < > <= >= to prevent unsafe operation. https://bugzilla.redhat.com/show_bug.cgi?id=1249730 app/models/condition.rb | 2 ++ spec/models/condition_spec.rb | 5 +++++ 2 files changed, 7 insertions(+) Good to go. Verified and working fine in 5.5.0.10-beta2.1.20151110134042_d6f5459 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-2015:2551 |