Bug 1333795
| Summary: | Duplicated widgets in Dashboard | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Dmitry Misharov <dmisharo> | ||||
| Component: | UI - OPS | Assignee: | Milan Zázrivec <mzazrivec> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.6.0 | CC: | dmisharo, hkataria, jhardy, mpovolny, obarenbo, simaishi | ||||
| Target Milestone: | GA | ||||||
| Target Release: | 5.6.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | ui:dashboard | ||||||
| Fixed In Version: | 5.6.0.8 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1356438 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-06-29 15:59:55 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1356438 | ||||||
| Attachments: |
|
||||||
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/9714a9a3e8e764f8e07b8422840b3fd6620f27a6 commit 9714a9a3e8e764f8e07b8422840b3fd6620f27a6 Author: Milan Zazrivec <mzazrivec> AuthorDate: Wed May 11 18:17:24 2016 +0200 Commit: Milan Zazrivec <mzazrivec> CommitDate: Mon May 16 21:21:10 2016 +0200 Don't allow adding duplicate widgets into a dashboard https://bugzilla.redhat.com/show_bug.cgi?id=1333795 app/assets/javascripts/miq_application.js | 2 +- app/controllers/dashboard_controller.rb | 16 ++++++++++------ spec/controllers/dashboard_controller_spec.rb | 24 ++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 7 deletions(-) Verified fixed in 5.6.0.8-rc1.20160524155303_f2a5a50. 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-2016:1348 |
Created attachment 1154613 [details] Screenshot of the bug Description of problem: Dashboard allows to add several identical widgets. Version-Release number of selected component (if applicable): 5.6.0.5-beta2.4.20160503153816_1fb554f How reproducible: Always Steps to Reproduce: 1. Go to Cloud Intel->Dashboard. 2. Add "Tenant Quotas" or "Hosts - Summary by Version" widgets. 3. Don't wait page reloading and add the same widget Actual results: After page reloading two identical widgets are in Dashboard. Expected results: Duplicating widgets is not allowed. Additional info: It's possible more than 2 widgets, just go on to add widgets before page will be reloaded. There is no this behavior in 5.5z