[ZBX-6062] Triggers containing system.run items with "||" characters in command are not editable in expression constructor + can not change trigger contents in text mode: parsing error; Created: 2013 Jan 04 Updated: 2017 May 30 Resolved: 2013 Jan 04 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Frontend (F) |
| Affects Version/s: | 2.0.4 |
| Fix Version/s: | 2.0.5rc1 |
| Type: | Incident report | Priority: | Critical |
| Reporter: | Leonid Satanovsky | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
2.0.4 is affected. |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Triggers containing system.run items with "||" characters in command are not editable in expression constructor + can not change trigger contents in text mode: parsing error; Trigger expression example: ============ {-- Tpl_Condor_Grid_worker_node:system.run["file=/net/$(hostname -f)/local_disk/zabbix.test; touch $file || { echo 1; exit 1; }; rm $file; echo 0;"].last(1000)}=1 | ; done; echo 0"].last(1000)}=1 | ; echo 0"].last(1000)}=1 | ============ 2.0.3 has no troubles with it, so, the issue was introduced in 2.0.4 |
| Comments |
| Comment by Leonid Satanovsky [ 2013 Jan 04 ] |
|
UPD: |
| Comment by richlv [ 2013 Jan 04 ] |
|
reproducible in 2.0.4, not reproducible in 2.0 branch svn head - this was fixed in revision 31993 |