#660 adding group with invalid name gets error "undefined"
Closed: Fixed None Opened 13 years ago by admiyo.

added a group with
name !@#$%
description wertwe
cliked the posix group checkbox
gave it GID 1

Clicked "Add and edit" got
IPA error 3007 "undefined"


In the latest code the UI will show a validation error message "may only include letters, numbers, _, -, . and $" underneath the groupname field, and if you submit it will return "Internal Server Error". Is this sufficient? The UI code was fixed recently to show the server response instead of "undefined".

Replying to [comment:2 edewata]:

In the latest code the UI will show a validation error message "may only include letters, numbers, _, -, . and $" underneath the groupname field, and if you submit it will return "Internal Server Error". Is this sufficient? The UI code was fixed recently to show the server response instead of "undefined".

We talked yesterday that validation should be done in the UI and invalid data should not be submitted to the server.
Does CLI give a meaningful message in this case? If not should it?

Metadata Update from @admiyo:
- Issue assigned to edewata
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata