| Summary: | WebUI:Spinner spins infinitely with "uncaught exception: [object Object]" in developer console while accessing "All Saved Reports" for "EvmGroup-approver" user | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ramesh A <rananda> | ||||
| Component: | UI - OPS | Assignee: | Martin Hradil <mhradil> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Niyaz Akhtar Ansari <nansari> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.7.0 | CC: | cpelland, hkataria, jhardy, mpovolny, nansari, obarenbo | ||||
| Target Milestone: | GA | Keywords: | TestOnly | ||||
| Target Release: | 5.8.0 | Flags: | rananda:
automate_bug-
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | ui:report | ||||||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1399217 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-06-12 16:15:20 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1399217 | ||||||
| Attachments: |
|
||||||
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/100c32a9c725468989c2616afe380c9760bd18d7 commit 100c32a9c725468989c2616afe380c9760bd18d7 Author: Martin Hradil <mhradil> AuthorDate: Thu Nov 24 15:55:58 2016 +0000 Commit: Martin Hradil <mhradil> CommitDate: Thu Nov 24 15:55:58 2016 +0000 ManageIQ.explorer.lock_tree - don't crash when the tree doesn't exist `$(selector).treeview(true)` normally returns a tree instance, but if the tree doesn't exist, it returns the same as `$(selector)`. Adding a warn & return when attempting to lock/unlock a tree which doesn't exist. https://bugzilla.redhat.com/show_bug.cgi?id=1397392 app/assets/javascripts/miq_explorer.js | 7 +++++++ 1 file changed, 7 insertions(+) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/2d3bd31a4d166f520e8b24a3792f342ef98e044b commit 2d3bd31a4d166f520e8b24a3792f342ef98e044b Author: Martin Hradil <mhradil> AuthorDate: Thu Nov 24 15:58:35 2016 +0000 Commit: Martin Hradil <himdel.com> CommitDate: Thu Nov 24 21:58:57 2016 +0100 ReportController - don't attempt to unlock uninitialized trees when logged in as non-admin, not all accordions and trees are available. However, loading the CI > Reports page causes all the trees to be unlocked, even if they aren't there. Adding a check that the tree has actually been instantiated before trying to unlock. https://bugzilla.redhat.com/show_bug.cgi?id=1397392 app/controllers/application_controller/tree_support.rb | 4 ++++ app/controllers/report_controller.rb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/b87dc834b48f09620bbb529a16453efb3056bfb4 commit b87dc834b48f09620bbb529a16453efb3056bfb4 Author: Milan Zázrivec <mzazrivec> AuthorDate: Fri Nov 25 14:48:34 2016 +0100 Commit: Oleg Barenboim <chessbyte> CommitDate: Mon Nov 28 09:25:51 2016 -0500 Merge pull request #12846 from himdel/bz1397392-report-tree-exists CI > Reports - don't crash trying to unlock a tree the user has no rights to see (cherry picked from commit ff551d00423830d5192fed896ab9ecb33e92bbd2) https://bugzilla.redhat.com/show_bug.cgi?id=1397392 app/assets/javascripts/miq_explorer.js | 7 +++++++ app/controllers/application_controller/tree_support.rb | 4 ++++ app/controllers/report_controller.rb | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) Verified in Version 5.8.0.4 |
Created attachment 1222716 [details] Spinner issue in Reports page Description of problem: spinner spins infinitely with "uncaught exception: [object Object]" in developer console while accessing "All Saved Reports" for "EvmGroup-approver" user Version-Release number of selected component (if applicable): 5.7.0.11-rc1.20161115160629_46cf4f1 How reproducible: Very Steps to Reproduce: 1. Manage a Infra Provider 2. Create a new user and associate him with "EvmGroup-approver" 3. With new user, navigate to Could Intel==> Reports Actual results: 1. Spinner spins infinitely 2. Browser web console throws "uncaught exception: [object Object]" error Refer the screenshot for further information Expected results: Spinner should stop after loading the page and Should be able to see the "All Saved Reports" page Additional info: