Bug 1291056 - Timelines button should be disabled when there are no events for an entity
Summary: Timelines button should be disabled when there are no events for an entity
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: GA
: 5.6.0
Assignee: Daniel Korn
QA Contact: Dafna Ron
URL:
Whiteboard: container
Depends On:
Blocks: 1292435
TreeView+ depends on / blocked
 
Reported: 2015-12-13 09:23 UTC by Daniel Korn
Modified: 2016-06-29 15:20 UTC (History)
6 users (show)

Fixed In Version: 5.6.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1292435 (view as bug list)
Environment:
Last Closed: 2016-06-29 15:20:10 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Daniel Korn 2015-12-13 09:23:12 UTC
Description of problem:
Timelines button is clickable and redirecting to the Timelines view, even when there are no events available for an entity.

Version-Release number of selected component (if applicable):
cfme-5.5.0.13-1.el7cf.x86_64

How reproducible:
100% in cases when there are no events for an entity.

Steps to Reproduce:
1. navigate to Pods (Containers tab > Pods)
2. choose a Pod without events data (verify in rails console/API/Openshift CLI)
3. click the Monitoring drop-down and choose Timelines

Actual results:
redirection to Timelines page with a message:
"No events available for this timeline"

Expected results:
Timelines button should be disabled, as it is for replication controllers (replicators)

Additional info:
Entities sharing the problem: container, pods and nodes.

Comment 2 Daniel Korn 2015-12-17 11:32:49 UTC
proposed fix: https://github.com/ManageIQ/manageiq/pull/5882

Comment 3 Dafna Ron 2016-04-22 13:55:27 UTC
verified on 
atomic-openshift-node-3.1.1.6-4.git.32.adf8ec9.el7aos.x86_64
cfme-5.6.0.4-beta2.3.1.el7cf.x86_64

Comment 5 errata-xmlrpc 2016-06-29 15:20:10 UTC
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


Note You need to log in before you can comment on or make changes to this bug.