Bug 1339993

Summary: False flash message displayed when clicked on commit while importing service dialog
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: import:service:dialog:ui
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1341671 (view as bug list) Environment:
Last Closed: 2017-01-11 20:05:28 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:
Bug Depends On:    
Bug Blocks: 1341671    
Attachments:
Description Flags
screenshot none

Description Niyaz Akhtar Ansari 2016-05-26 10:13:16 UTC
Created attachment 1161857 [details]
screenshot

Description of problem:


Version-Release number of selected component (if applicable):
Version 5.6.0.8-rc1.20160524155303_f2a5a50


How reproducible:
100%

Steps to Reproduce:
1.Navigate to Automate->customization->import/export
2.Choose file for import and click on upload button
3.Click on commit button(Don't check on check box)

Actual results:
After clicking on commit button flash message displayed "service dialogs imported successfully" but actual it doesn't imported.    

Expected results:
Dialog import should be successful.

Additional info:

Comment 2 Harpreet Kataria 2016-05-26 14:54:18 UTC
Zita,

When user selects a file to import and presses Upload button, flash message is misleading.
Can you fix flash message here https://github.com/ManageIQ/manageiq/blob/master/app/controllers/miq_ae_customization_controller.rb#L55 to something like

add_flash(_("Select Dialogs to import"), :info) 

Thanks,
~Harpreet

Comment 4 Zita Nemeckova 2016-07-19 06:39:03 UTC
https://github.com/ManageIQ/manageiq/pull/9452

Comment 5 Shveta 2016-09-21 05:14:52 UTC
Fixed.
Verified in 5.7.0.0.20160906172503_12f65cb