Bug 1540695 - Flash message icon is not correct Bottlenecks page
Summary: Flash message icon is not correct Bottlenecks page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.10.0
Assignee: Greg Piatigorski
QA Contact: Matouš Mojžíš
URL:
Whiteboard: general:ui
Depends On:
Blocks: 1553288
TreeView+ depends on / blocked
 
Reported: 2018-01-31 19:22 UTC by Anurag
Modified: 2019-02-11 14:00 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1553288 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:00:38 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot (68.18 KB, image/png)
2018-01-31 19:22 UTC, Anurag
no flags Details

Description Anurag 2018-01-31 19:22:12 UTC
Created attachment 1389158 [details]
Screenshot

Description of problem:
When we navigate to Bottlenecks page we get a error flash message for no records rather than a usual no record flash message.


Version-Release number of selected component (if applicable):
Version 5.9.0.19.20180130154138_e545381

How reproducible:
100%



Steps to Reproduce:
1.Go to Optimize-->Bottlenecks

Actual results:
There is a error message with yellow backgroun related to no record:  "No records found for this timeline"


Expected results:
There error icon and yellow background should not be present in the " No records found for this timeline" message.


Additional info:

Comment 2 CFME Bot 2018-02-22 22:34:05 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/f8da5445a5b60f644c788c5cb47bacc470269fbf

commit f8da5445a5b60f644c788c5cb47bacc470269fbf
Author:     Greg Piatigorski <gpiatigo>
AuthorDate: Thu Feb 22 11:46:32 2018 -0800
Commit:     Greg Piatigorski <gpiatigo>
CommitDate: Thu Feb 22 11:46:32 2018 -0800

    Fix Bottlenecks timeline no data message
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1540695

 app/controllers/bottlenecks_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 Greg Piatigorski 2018-02-22 23:39:38 UTC
NOTE: Original issue states that an error message was displayed, in red. Upon code analysis and it was determined the message was, indeed, a warning, not an error as claimed, although color of the message did look reddish. This is a Paternfly message scheme, no much that can be done by us.

As is, message itself was refactored to be an Information Level, not a Warning, since there is no requirement for the Bottlenecks timeline data to exist at all times.

Comment 5 Matouš Mojžíš 2018-07-10 11:36:37 UTC
Verified in 5.10.0.3. Flash message on bottlenecks page is now only info and not warning.


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