Bug 1540695

Summary: Flash message icon is not correct Bottlenecks page
Product: Red Hat CloudForms Management Engine Reporter: Anurag <ansinha>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.9.0CC: cpelland, hkataria, lavenel, mmojzis, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: general:ui
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1553288 (view as bug list) Environment:
Last Closed: 2019-02-11 14:00:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1553288    
Attachments:
Description Flags
Screenshot none

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.