[ZBX-7196] some fields allow to type more than 64 symbols instead of limit them Created: 2013 Oct 24 Updated: 2017 Oct 16 Resolved: 2017 Oct 16 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.1.9 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Minor |
Reporter: | jabalv | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
If there is hardcoded limit condition - zbx_strlen($user['alias']) > 64) , why also form is not limited itself to maxlength="64"? Or actually by limiting form can avoid Forms affected: Password field 255 symbols? |
Comments |
Comment by Oleksii Zagorskyi [ 2015 Sep 17 ] |
Still actual for 2.4.5 Value "'213452345234 5234523452345234523452345 234523452345234523452 34523'" is too long for field "name" - 66 characters. Allowed length is 64 characters. [usergrps.php:193 → CFrontendApiWrapper->create() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CUserGroup->create() → DB::insert() → DB::checkValueTypes() → DB::exception() in /zab/www-dev/2.4/include/classes/db/DB.php:334] |
Comment by Rostislav Palivoda [ 2017 Oct 16 ] |
Please switch to |