Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1513354 - Mandatory parameter user name [NEEDINFO]
Summary: Mandatory parameter user name
Keywords:
Status: NEW
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: web-admin-tendrl-ui
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Neha Gupta
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-15 09:38 UTC by Lubos Trilety
Modified: 2018-08-24 07:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
negupta: needinfo? (ltrilety)


Attachments (Terms of Use)
Add user error (deleted)
2017-11-15 09:38 UTC, Lubos Trilety
no flags Details

Description Lubos Trilety 2017-11-15 09:38:04 UTC
Created attachment 1352464 [details]
Add user error

Description of problem:
There's no need for user name to be mandatory. There will be no problem if there will be user without name, as there's already a unique user id for identifying any user.
Moreover there's also check that the user name has at least 4 characters and when this check fails nothing can be done only cancel the 'add user' or 'edit user' action.


Version-Release number of selected component (if applicable):
tendrl-ui-1.5.4-2.el7rhgs.noarch

How reproducible:
100%

Steps to Reproduce:
1. Log as admin user to the RHGSWA
2. Open 'Add user' page
3. Fill all required parameters, let the name be shorter than 4 characters.

Actual results:
An error 'Name is too short (minimum is 4 characters).' is printed. User cannot be saved even when name is "corrected", only 'Cancel' button is available.

Expected results:
Name should not be mandatory. There should not be any checks for length.

Additional info:
See screenshot in attachment

Comment 1 Nishanth Thomas 2017-11-15 19:03:35 UTC
First part of the bug: 

`There's no need for user name to be mandatory. There will be no problem if there will be user without name, as there's already a unique user id for identifying any user.`

we are not planning to fix. This is as per design. dev_ack-

Second part where user not able to do anything after encountering an error require a fix. I would propose to take this in a future release as we are close 3.3.1 timelines and this bug not critical enough to affect the core functionality.

Comment 4 Neha Gupta 2018-08-24 07:10:03 UTC
@ltrilety@redhat.com As per the comment at https://bugzilla.redhat.com/show_bug.cgi?id=1594994#c14, username can have minimum 4 characters and maximum 20 characters.


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