[ZBX-3144] Items list is empty for templated trigger Created: 2010 Oct 26  Updated: 2017 May 30  Resolved: 2011 Feb 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.4rc2
Fix Version/s: 1.8.5

Type: Incident report Priority: Blocker
Reporter: Oleksii Zagorskyi Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File item_list_for_templated_trigger_is_empty.png    

 Description   

See picture - this is attempt to edit built in templated trigger.
Dear developers, please correct this is issue ASAP, because now it is inconvenient to manually create a expression for templated triggers in my 3 trunk-servers.
__________________________
Your loyal beta tester, Olexiy



 Comments   
Comment by richlv [ 2010 Oct 26 ]

interesting. when creating a new trigger, if i set host to be all, i get all template items, but i can't choose templates in the host dropdown at all. quite limiting indeed.

Comment by Oleksii Zagorskyi [ 2010 Oct 26 ]

richlv, you write "if i set host to be all", maybe more accurately - "if i set Group to be all and Host to be all"?
Thanks, I have not tried Group and Host to be all, so I can work temporarily (but hart to find my templatad item in bigest list).
I take off my attribute "ASAP"
Noticed a new (or may be old) problem. If you just open the editor of expression and press Insert button, then to the existing once more being added all the expression - so wrong (two expressions one by one).

Comment by Oleksii Zagorskyi [ 2010 Nov 01 ]

The problem with empty list is not reproducible now in trunk rev 15170.
You can close this issue, if you do not have problems, too.
But read the end of my previous posts.

Comment by Alexey Fukalov [ 2010 Nov 15 ]

dev branch: ZBX-3144

Comment by richlv [ 2010 Nov 15 ]

now both comparison & trigger function parameter fields are filled in from trigger function parameter in the expression

for example,

{A Test Host:log[/usr/local/apache2/logs/error_log,error].str(error)}

=1

gives me "error" in both of those fields

Comment by Alexey Fukalov [ 2010 Nov 15 ]

removed parsing of existing expression, adding expression will be always with empty\default fields

Comment by richlv [ 2010 Nov 15 ]

confirming the fix in dev branch rev 15505, leaving issues as is for a code review

Comment by Alexey Fukalov [ 2010 Nov 16 ]

branches/1.8 15510

Comment by Oleksii Zagorskyi [ 2010 Nov 16 ]

Try to edit trigger:
1.Toggle input method
2.Click to expression
3.Press Edit button
4.voila - popup window is empty !

Comment by Oleksii Zagorskyi [ 2010 Dec 25 ]

Additional problem:
Try this:
1.Toggle input method
2.Click to expression
3.Press Replace button
4.voila - [ZABBIX_ERROR] Not allowed symbols or sequence of symbols in expression element detected: Check expression part starting from ' >40 '
In the Expression field we see:

{APC_Battery:upsAdvBatteryTemperature.last(0)}

>40
Note at - >

Comment by Oleksii Zagorskyi [ 2011 Jan 04 ]

hmm. It's bad that it will not be solved in 1.8.4
It was planned to resolve minor problem, but now do even more IMHO. See my pre-previous comment - not last.
I do not care, but users will suffer.

Comment by Alexei Vladishev [ 2011 Jan 04 ]

We did all our best to include as many fixes into 1.8.4 as possible. I do hope we'll finally come to a much shorter release cycle for stable releases, therefore critical issues like this one will be fixed and released no longer than within a few weeks.

Comment by Oleksii Zagorskyi [ 2011 Feb 20 ]

I tested latest revisions of 1.8 branche and trunk.
My two last posts is not reproducible now. So you can close as fixed for 1.8.5

Now i see another minor bug, which i'll register as separate issue.

Comment by richlv [ 2011 Feb 20 ]

thanks for testing - closing then

Generated at Sat Apr 27 07:38:57 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.