Bug 1536395 - Wrong error displayed when trying to add a group without a name
Summary: Wrong error displayed when trying to add a group without a name
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.10.0
Assignee: Greg Piatigorski
QA Contact: Mike Shriver
URL:
Whiteboard: auth:db
Depends On:
Blocks: 1552707
TreeView+ depends on / blocked
 
Reported: 2018-01-19 10:49 UTC by Antonin Pagac
Modified: 2019-02-11 14:04 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1552707 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:04:59 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.