Bug 1265212

Summary: Web-UI: Tenants - Editing Tenant shows wrong flash message
Product: Red Hat CloudForms Management Engine Reporter: Ramesh A <rananda>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: medium    
Version: 5.5.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-28 14:25:11 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-error-message none

Description Ramesh A 2015-09-22 11:56:20 UTC
Created attachment 1075790 [details]
flash-error-message

Description of problem:
Editing Tenant shows wrong flash message

Version-Release number of selected component (if applicable):
5.5.0.1-alpha1.20150915151429_2230bd4

How reproducible:
Very

Steps to Reproduce:
1. Navigate to Configure ==> Configuration ==> Access Control ==> CFME Region: Region 0 [0]==> Tenants==> My Company==> Configuration==> Edit this item
2. Delete the Description (make it as blank) and click on Save button
3. Observe the flash error message

Actual results:
Displays the following Error message "Error when adding a new tenant: Validation failed: Description can't be blank".  Refer the screenshot

Expected results:
Error message should display as "Error when editing ..."

Additional info: