[ZBX-3503] Function item_description must be rewritten Created: 2011 Feb 04 Updated: 2017 May 30 Resolved: 2011 Apr 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Konstantin Buravcov (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | legend_nbsp.png |
Description |
Function item_description logic is outdated. It should be rewritten to use new trigger expression parser. |
Comments |
Comment by Aleksandrs Saveljevs [ 2011 Mar 18 ] |
Related issue: |
Comment by Konstantin Buravcov (Inactive) [ 2011 Mar 30 ] |
Done in dev branch |
Comment by Konstantin Buravcov (Inactive) [ 2011 Apr 06 ] |
I have added funtion that parses item key to Also, feel free to add your own test cases. To run this test: |
Comment by Konstantin Buravcov (Inactive) [ 2011 Apr 12 ] |
Merged to trunk revision 19008 |
Comment by richlv [ 2011 Apr 14 ] |
this turned all spaces in graph item legend into " "... |
Comment by Alexei Vladishev [ 2011 Apr 15 ] |
>this turned all spaces in graph item legend into " "... Rich, you forgot your favourite prefix, WTF! I am seriously scared about any re-factoring lately, normally we fix one thing and break a dozen of others... |
Comment by Konstantin Buravcov (Inactive) [ 2011 Apr 15 ] |
richlv, I connot reproduce it - I see normal spaces. You mean you literaly see " "? Can you provide screenshot or steps to reproduce? |
Comment by richlv [ 2011 Apr 15 ] |
see the attachment. or even live at https://zabbix.org/zabbix/history.php?action=showgraph&itemid=7 |
Comment by Brad [ 2011 Apr 18 ] |
I have 2 different installs, one based on CentOS 5.5 and one CentOS 5.6 PHP versions: Both exhibit the failure talked about above. |
Comment by Konstantin Buravcov (Inactive) [ 2011 Apr 18 ] |
I have reverted the related stuff in trunk rev 19062. It seems, that PHP GD behaves differently across different instalations. Let's leave spaces for |
Comment by Konstantin Buravcov (Inactive) [ 2011 Apr 20 ] |
Merged to 1.8 rev 19123 |