Bug 1553340

Summary: [CONDITION] When we leave description blank, there are two identical flash messages.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ControlAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Brandon Squizzato <bsquizza>
Severity: low Docs Contact:
Priority: medium    
Version: 5.9.0CC: bsquizza, cpelland, gmccullo, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1531469 Environment:
Last Closed: 2018-05-07 20:45:31 UTC Type: ---
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: 1531469    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-08 17:27:25 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/d744e82194c60cb3f4977c73bc52782f46157346
commit d744e82194c60cb3f4977c73bc52782f46157346
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Mar  1 13:57:29 2018 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Mar  1 13:57:29 2018 -0500

    Merge pull request #3180 from d-m-u/bz_1531469

    Remove replacement of whole right cell and instead render flash message div so flash message isn't doubled
    (cherry picked from commit d64dcc1c6a6076437a4b76e0c0059325df638de7)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1553340

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

Comment 3 Brandon Squizzato 2018-04-02 14:22:36 UTC
Verified on 5.9.2.0.20180320210136_355c506 that proper flash error messages are shown under  Control -> Explorer -> Conditions -> VM and Instance Conditions -> Configuration -> Add a New Condition when:
* the scope, expression, and description are all blank
* the expression and description is blank
* the description is blank

Comment 6 errata-xmlrpc 2018-05-07 20:45:31 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/RHSA-2018:1328