Bug 1342224
Summary: | Openstack cloud provider not disabled Timelines subbutton when no events available | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Matouš Mojžíš <mmojzis> | |
Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
Status: | CLOSED NOTABUG | QA Contact: | Ievgen Zapolskyi <izapolsk> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 5.6.0 | CC: | hkataria, izapolsk, jhardy, jprause, mpovolny, obarenbo, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.7.0 | Flags: | izapolsk:
needinfo-
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ui:openstack | |||
Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1353234 (view as bug list) | Environment: | ||
Last Closed: | 2016-10-12 15:41:15 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | Unknown | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1353234 |
Description
Matouš Mojžíš
2016-06-02 17:08:08 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/d49a91bff7149af08d3202e7830887d025569dba commit d49a91bff7149af08d3202e7830887d025569dba Author: Harpreet Kataria <hkataria> AuthorDate: Thu Jun 2 15:35:20 2016 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Jun 13 14:50:00 2016 -0400 Disable timelines button when no timeline data is available for provider - Also hide Monitoring button group when there are no buttons under it. https://bugzilla.redhat.com/show_bug.cgi?id=1342224 https://bugzilla.redhat.com/show_bug.cgi?id=1342217 .../application_helper/button/ems_cloud_timeline.rb | 5 ----- .../application_helper/button/ems_infra_timeline.rb | 5 ----- app/helpers/application_helper/button/ems_timeline.rb | 15 +++++++++++++++ .../application_helper/toolbar/ems_cloud_center.rb | 2 +- .../application_helper/toolbar/ems_infra_center.rb | 2 +- 5 files changed, 17 insertions(+), 12 deletions(-) delete mode 100644 app/helpers/application_helper/button/ems_cloud_timeline.rb delete mode 100644 app/helpers/application_helper/button/ems_infra_timeline.rb create mode 100644 app/helpers/application_helper/button/ems_timeline.rb New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/db708d9ca35bb67a90a259cc3312e1467fb3aca2 commit db708d9ca35bb67a90a259cc3312e1467fb3aca2 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Jun 2 16:56:49 2016 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Jun 13 14:59:59 2016 -0400 Added spec tests to verify fix. https://bugzilla.redhat.com/show_bug.cgi?id=1342224 https://bugzilla.redhat.com/show_bug.cgi?id=1342217 .../application_helper/buttons/ems_timeline.rb | 39 ++++++++++++++++++++++ .../application_helper/toolbar_builder_spec.rb | 15 +++++++++ 2 files changed, 54 insertions(+) create mode 100644 spec/helpers/application_helper/buttons/ems_timeline.rb I've just checked this issue in 5.7.0.3. 1. Monitoring menu is not grayed out though Timelines is dimmed for OpenStack now. 2. Timelines is still available for Azure when there is no any timelines events yet. Ievgen, Have you checked if there are Policy Timelines events available for the provider in question. If not can you provide access to your appliance i can take a look at it. Let me know. Thanks. ~Harpreet Harpreet, I already destroyed that appliance. I've just deployed new one. Timelines is grayed out for both Azure and RHOS providers this time but Monitoring menu is still available. You can access this appliance using ip 10.8.199.248. Levgen, I am closing this BZ as not a bug as Timelines button is disabled/grayed when no timeline data is available. We show "Monitoring" menu with disabled buttons under it in other parts of UI when button under the groups are disabled so this is not a bug. Thanks, ~Harpreet |