Bug 1564986
Summary: | Dashboard widget is not providing exact content due to Type conversion Exception. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Neha Chugh <nchugh> | ||||
Component: | Appliance | Assignee: | Yuri Rudman <yrudman> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.8.0 | CC: | abellott, cpelland, dmisharo, hkataria, jprause, lavenel, mpovolny, nchugh, obarenbo, yrudman | ||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
Target Release: | 5.10.0 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1573539 1573540 (view as bug list) | Environment: | |||||
Last Closed: | 2019-02-11 14:03:15 UTC | Type: | Bug | ||||
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: | |||||||
Bug Blocks: | 1573539, 1573540 | ||||||
Attachments: |
|
Description
Neha Chugh
2018-04-09 06:19:56 UTC
Created attachment 1420689 [details]
sample_report_widget_is_not_working
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/d7a37e8ff374e040fc946cc6246f038baa18823a commit d7a37e8ff374e040fc946cc6246f038baa18823a Author: Yuri Rudman <yrudman> AuthorDate: Thu Apr 26 09:08:38 2018 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Thu Apr 26 09:08:38 2018 -0400 do not change current_group for super admin user when executing Rbac#lookup_user_group Example when updating user.current_group in group's look-up is bad: if widget set-up for different group than during content generation (triggered manually from UI) the last group will become current group for super user and this may throw unexpectd errors ( like failing ApplicationController.assert_privileges(widget_refresh) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1564986 lib/rbac/filterer.rb | 8 +- 1 file changed, 5 insertions(+), 3 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/d7a37e8ff374e040fc946cc6246f038baa18823a commit d7a37e8ff374e040fc946cc6246f038baa18823a Author: Yuri Rudman <yrudman> AuthorDate: Thu Apr 26 09:08:38 2018 -0400 Commit: Yuri Rudman <yrudman> CommitDate: Thu Apr 26 09:08:38 2018 -0400 do not change current_group for super admin user when executing Rbac#lookup_user_group Example when updating user.current_group in group's look-up is bad: if widget set-up for different group than during content generation (triggered manually from UI) the last group will become current group for super user and this may throw unexpectd errors ( like failing ApplicationController.assert_privileges(widget_refresh) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1564986 lib/rbac/filterer.rb | 8 +- 1 file changed, 5 insertions(+), 3 deletions(-) Fixed and verified in 5.10.0.1.20180619163011_900fdc4. Widget content is generated successfully. |