[ZBX-2012] frontend error - Incorrect usage of quotes Created: 2010 Feb 16 Updated: 2017 May 30 Resolved: 2011 Mar 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | None |
Affects Version/s: | 1.8.1, 1.9.0 (alpha) |
Fix Version/s: | 1.8.5 |
Type: | Incident report | Priority: | Major |
Reporter: | richlv | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
Description |
similar to item key like : produces errors in the frontend : |
Comments |
Comment by richlv [ 2010 Feb 17 ] |
also will be handled here : , {HOSTNAME}]), and description uses positional references (for example, description $1, $2), only hostname macro is resolved (ordering does not matter) |
Comment by Alexander Vladishev [ 2010 Dec 20 ] |
Confirmed in branches 1.8 (pre1.8.4), r16245. |
Comment by Konstantin Buravcov (Inactive) [ 2011 Jan 31 ] |
Seems that those issues are no longer present in 1.8 (with a new trigger expr parser). Checked in rev 17280 richlv, please confirm and I will close the issue then. |
Comment by richlv [ 2011 Jan 31 ] |
mentioned case indeed seems to be fixed, but here's another one : a[,`~!@#$%^&*()-_=+[\|;:'",<.>/?] item with a key like that can be saved and results in an error again : Incorrect usage of quotes. [,`~!@#$%^&*()-_=+[\|;:'",<.>/?] |
Comment by Konstantin Buravcov (Inactive) [ 2011 Jan 31 ] |
I've localized the problem: a['] can be saved |
Comment by Konstantin Buravcov (Inactive) [ 2011 Jan 31 ] |
a['"] - is wrong a key format and should not be allowed to save |
Comment by Aleksandrs Saveljevs [ 2011 Jan 31 ] |
Why? a['"] is a perfectly legal key. |
Comment by Konstantin Buravcov (Inactive) [ 2011 Jan 31 ] |
My mistake, it is. |
Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 02 ] |
Error message about incorrect usage of quotes is removed - item description is parsed as expected. |
Comment by richlv [ 2011 Feb 02 ] |
the error seems to be gone in dev branch - leaving issue as is for code review |
Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 04 ] |
The problem will be fixed in |
Comment by Alexander Vladishev [ 2011 Mar 21 ] |
Again this problem in the versions 1.8.5rc1 and trunk, r18576. |
Comment by richlv [ 2011 Mar 21 ] |
although see https://support.zabbix.com/browse/ZBX-2012?focusedCommentId=38718&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_38718 as for why this issue was closed ( |
Comment by Marzena Piko [ 2011 Apr 21 ] |
Just additional info for "normal" Zabbix users: |