Bug 1536395

Summary: Wrong error displayed when trying to add a group without a name
Product: Red Hat CloudForms Management Engine Reporter: Antonin Pagac <apagac>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Shriver <mshriver>
Severity: low Docs Contact:
Priority: low    
Version: 5.9.0CC: cpelland, hkataria, lavenel, mpovolny, mpusater, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: auth:db
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1552707 (view as bug list) Environment:
Last Closed: 2019-02-11 14:04:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1552707    

Description Antonin Pagac 2018-01-19 10:49:21 UTC
Description of problem:
There's a wrong wording in an error displayed when user is trying to add a group without a name. The error currently reads:

"Description can't be blank"

But it should be:

"Name can't be blank"

There is no Description field available when trying to add a new group.

Version-Release number of selected component (if applicable):
5.9.0.17

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Administrator -> Configuration, Access Control -> Groups
2. Configuration -> Add a new Group
3. Supply Role and Product/Tenant, do NOT enter Name
4. Click Add, notice the error

Actual results:
"Description can't be blank"

Expected results:
"Name can't be blank"

Additional info:

Comment 3 Greg Piatigorski 2018-01-30 22:07:55 UTC
This PR has fixed the issue: https://github.com/ManageIQ/manageiq-ui-classic/pull/3200

Please re-test with latest build.

Comment 4 Greg Piatigorski 2018-01-30 22:09:13 UTC
Groups have no Names, just Descriptions, per PR comments. UI code has been adjusted accordingly.

Comment 6 Mike Shriver 2018-08-03 15:47:55 UTC
Tested in 5.10.0.8.20180801220537_afb552b

The group add form correctly reflects an empty description in the flash message displayed.  There is no name field to test.