Bug 1170794
| Summary: | Unable to create dashboard widget for trending reports or filter | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Harpreet Kataria <hkataria> |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
| Status: | CLOSED ERRATA | QA Contact: | Ramesh A <rananda> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.3.0 | CC: | dajohnso, dmacpher, drieden, jocarter, mfeifer, rananda |
| Target Milestone: | GA | ||
| Target Release: | 5.3.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 5.3.2 | Doc Type: | Bug Fix |
| Doc Text: |
Trending reports do not have columns like regular reports. This meant users were unable to create a widget from a trending report. This fix adds logic to display "No Widget compatible Reports found" when filtering by trending reports in widget editor. Now users can not longer select trending reports for a widget.
|
Story Points: | --- |
| Clone Of: | 1163952 | Environment: | |
| Last Closed: | 2015-01-14 19:44:08 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: | 1163952 | ||
| Bug Blocks: | |||
|
Comment 1
CFME Bot
2014-12-04 21:46:07 UTC
New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e10cad3a5f8974a75ecad6fe3a6866d182014a9b commit e10cad3a5f8974a75ecad6fe3a6866d182014a9b Author: Harpreet Kataria <hkataria> AuthorDate: Tue Dec 2 10:56:33 2014 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Dec 4 16:42:50 2014 -0500 Converted view to haml. - Used gettext to display "No Widget compatible Reports found" message. https://bugzilla.redhat.com/show_bug.cgi?id=1163952 (cherry picked from commit cf70190) https://bugzilla.redhat.com/show_bug.cgi?id=1170794 vmdb/app/views/report/_widget_form_report.html.erb | 43 ---------------------- .../app/views/report/_widget_form_report.html.haml | 42 +++++++++++++++++++++ 2 files changed, 42 insertions(+), 43 deletions(-) delete mode 100644 vmdb/app/views/report/_widget_form_report.html.erb create mode 100644 vmdb/app/views/report/_widget_form_report.html.haml New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=26eca4dc231e0d6e0def87f709b6289b84924728 commit 26eca4dc231e0d6e0def87f709b6289b84924728 Author: Harpreet Kataria <hkataria> AuthorDate: Tue Dec 2 09:22:06 2014 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Dec 4 16:42:27 2014 -0500 Exclude Trending reports from Dashboard widgets. Changed code to exclude Trending reports from widget editor because those are not like regular reports and do not have columns. Show a message instead of third pull-down "No Reports to select" in the view. https://bugzilla.redhat.com/show_bug.cgi?id=1163952 (cherry picked from commit 4f6ec6e) https://bugzilla.redhat.com/show_bug.cgi?id=1170794 vmdb/app/controllers/report_controller/schedules.rb | 8 +++++--- vmdb/app/views/report/_widget_form_report.html.erb | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) Good to go. Verified and working fine in 5.3.2.5.20141218144833_50406a5 Application now shows a message stating "No Widget compatible Reports found" for Trending filter. 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://rhn.redhat.com/errata/RHSA-2015-0028.html |