pcspl92 / webpanel

MIT License
0 stars 5 forks source link

No Character limit (minimum and maximum) and taking alphanumeric characters as well in Creating Control Station from 'Create User'.(Company Panel) #164

Closed RanjitUpadhyay closed 2 years ago

RanjitUpadhyay commented 2 years ago

Describe the bug Every field in Control Station has some manner of writing i.e Remote IP Address- XXX : XXX : XXX : XXX (where X- 0-255) Remote Port Address- XXXX (where X is a number 0-9) Device ID- alphanumeric Value. Contact Number- Must be 10 digit User Display Name- Only alphabet But for every field of Control Station has No Character limit (minimum and maximum) and taking alphanumeric characters as well.

To Reproduce Steps to reproduce the behavior: 1.Enter in the address bar-pulseptt.com 2.Login With Id and Password. UserName-pulse123 Password-123456789 3.Click On User Management and Click on Create New user and Select Control Stations.

Expected behavior Every field of Control Station must be written according to the requirement of the field.

Desktop (please complete the following information): OS: Windows 10 Browser: Version 100.0.4896.60 (Official Build) (64-bit) Version: [0.2.1.1]

Capture107

RanjitUpadhyay commented 2 years ago

When Validation error occurs then pop up with specified field which is causing error must be displayed on pop-up. But it is displaying 'ValidationError: 2 errors occurred' which is confusing for the user to understand. Ex- If error occurs in 'Remote IP Address' field then it must specified it with error in 'Remote IP Address error'

Note- Changed the format of -Remote IP Address- XXX : XXX : XXX : XXX (where X- 0-255) in Describe the bug

Capture120

RanjitUpadhyay commented 2 years ago

If I am writing Remote IP Address- 123.124.001.009 i.e values like 000,001,002,003 till 009 then it gives an ip error. But Ip can be written from 0-255, so those values from 000 to 009 must also be included.

Capture130