[ZBX-2341] Shortening the text value displayed is not very correctly if it is non-english text (russian for example). Created: 2010 Apr 20 Updated: 2017 May 30 Resolved: 2010 Jun 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.8.2 |
Fix Version/s: | 1.8.4 |
Type: | Incident report | Priority: | Minor |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | utf8_non-eng_20letter_limiting.png |
Description |
In the file 'include\items.inc.php' function 'format_lastvalue' should be improved to correctly display the last letter and and number ot letters in the case of non-English text. Simple selection of the first 20 bytes are not the best choice. Must choose 20 letters. |
Comments |
Comment by Alexei Vladishev [ 2010 May 06 ] |
Other screens might be affected as well. |
Comment by Alexey Fukalov [ 2010 May 06 ] |
branches/1.8 11845 |
Comment by Oleksii Zagorskyi [ 2010 May 06 ] |
Tested. Now displayed correctly. |
Comment by Oleksii Zagorskyi [ 2010 May 27 ] |
Under http://www.zabbix.com/documentation/1.8/manual/about/what_s_new_1.8.2#frontend_requirement_changes FreeBSD 8.0-RELEASE |
Comment by Alexey Fukalov [ 2010 May 27 ] |
branches/1.8 12332 |
Comment by Oleksii Zagorskyi [ 2010 May 27 ] |
Alexei, i see "triggers.inc.php" was changed, but the problem as I wrote on the OVERVIEW page. |
Comment by Alexey Fukalov [ 2010 May 28 ] |
Did you just comment mbstring.func_overload 2 string in php.ini and after that frontend strings got broken? I cannot reproduce this, it should work without overload enabled.. |
Comment by Oleksii Zagorskyi [ 2010 May 28 ] |
Yes, one week ago i just comment 'mbstring.func_overload 2' string in php.ini (and restart Apache certainly) i and after that frontend strings got broken. |
Comment by Oleksii Zagorskyi [ 2010 Jun 02 ] |
Full string from history with "square" symbol at end of shortening text: Not all lines are displayed with the "square" symbol at the end - it depends on the count of single-byte symbol as space or points, or others. If the pair count of them - then the "square" NOT visible, and if unpair count - then VISIBLE. item type very simply: eventlog[System] |
Comment by Oleksii Zagorskyi [ 2010 Jun 03 ] |
Additional testing on a completely different installation (different server, client, etc.). mbstring.func_overload DISABLED Environment: |
Comment by Alexey Fukalov [ 2010 Jun 03 ] |
branches/1.8 12525 |
Comment by Oleksii Zagorskyi [ 2010 Jun 03 ] |
ha-ha. Once again I was right, it's nice |
Comment by Alexey Fukalov [ 2010 Jun 04 ] |
Then i close this easy to fix, but haard to find bug |