Username validation is not there while creating new user from admin-manage users.

Description

There is no any username field validation done on admin-manage users - create users page.

Steps to reproduce:

  • Login to zanata as admin.

  • Click on admin settings.

  • Click on manage users.

  • Click on ^... on right corner to create new user.

  • Enter long string e.g "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222222222222222222222222222222222222222233333333333334324234234234235235423432423432523543252435238209582034953048509384573459843275983247598743958743985374598743598435798435987932879532795823048230940238409238402384908230950943583480293480293840928340938409328409328403284093284032984093284093840328409328409328402938409328403298403294803284093284093284034093284093284032840328409324803284032850932850329850932850932850932850938094384093284093284098324093280943280430294830298409328509843290520934859032750984325093284098320kljnfkjsdkjlshdfsslkjdfkjnkjbkjvbkfd0283908721957420398574357098432759432759874359864359876596435986598435987439857349857239587243985729387498349832749873249832498324983274972349872349823,mnskfnksdflksdjflkdsfjldsfjdsljfldsjflkdsfjlkfwoiwerpoweitpj;lans.dnflkjsoihrnfksndflakdjfoiewpruwqitolknl;kjkllkfdjsdljfpoiewroiutpoiotrl;jlkjsg;lkjlfg;sgjfsjgdpoi/SGFGIOOOOOSGJJK390485093543850943580943"

in username filed.

  • Enter email and select member of.

  • Click on save.

Actual Result:

  • There is no any validation for username field.

Expected Result:

  • Username lengthe and existance of user should be validated.

Note:

  • Attached screen captured for more info.

Environment

Firefox 52 + Fedora 25

Status

Assignee

Alex Eng

Reporter

Sachin Pathare

Labels

Tested Version/s

None

Components

Sprint

None

Affects versions

Priority

unspecified
Configure