Bug 1329606

Summary: Performing SmartState analysis on datastore displays "... %{table} [%{name}] with id: [%{id}]" in flash messages.
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: dclarizi, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAFlags: akarol: automate_bug+
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:flash_msg
Fixed In Version: 5.6.0.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:52:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
flash message none

Description Aziza Karol 2016-04-22 10:58:43 UTC
Created attachment 1149719 [details]
flash message

Description of problem:


Version-Release number of selected component (if applicable):
5.6.0.4-beta2.3.20160421172650_719e256 

How reproducible:
100%

Steps to Reproduce:
1.Navigate to compute->infrastructure->datastores
2.select a datastore and Perform smartstate analysis


Actual results:
Flash message "Datastore "cfme-esx-55-01-local": Error during 'scan': Check that a Host is running and has valid credentials for %{table} [%{name}] with id: [%{id}]" displayed in UI. see attached screenshot

Expected results:
Proper flash message should be displayed

Additional info:

Comment 2 Milan Zázrivec 2016-04-28 14:45:05 UTC
https://github.com/ManageIQ/manageiq/pull/8323

Comment 3 CFME Bot 2016-04-28 15:55:44 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/7218fc91391577cd50e250711c2ec136c053eecb

commit 7218fc91391577cd50e250711c2ec136c053eecb
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Apr 28 16:43:34 2016 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Thu Apr 28 16:43:34 2016 +0200

    Fix syntax issue causing ugly error message
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1329606

 app/models/storage.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 4 Aziza Karol 2016-05-04 06:46:34 UTC
Flash message displayed correctly.

Verified:5.6.0.5-beta2.4.20160503153816_1fb554f

Comment 7 errata-xmlrpc 2016-06-29 15:52:53 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