[ZBX-3535] trigger wizard is broken Created: 2011 Feb 15  Updated: 2017 May 30  Resolved: 2011 Feb 21

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

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

Attachments: PNG File trigger-wizard.png    

 Description   

See trigger-wizard.png. The GUI refuses to save the trigger and it always shows "Expression cannot be empty" at the bottom. Regression.



 Comments   
Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 15 ]

On the screenshot, you should press "Add". Not very intuitive, but works.
Error message at the end, however, should not appear. Removed it in dev branch ZBX-3535

Comment by Aleksandrs Saveljevs [ 2011 Feb 15 ]

Perhaps a tester will want to know the commit that broke it. Could you please give a hint to him?

Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 15 ]

svn blame tr_logform.php

17571 artem $exprData = new CTriggerExpression(array('expression'=>construct_expression($itemid,$expressions)));

Situation when $expressions could be empty was not thought of in this case.

Comment by Aleksandrs Saveljevs [ 2011 Feb 15 ]

I propose we are more positive and use "svn praise" instead.

Comment by Oleksii Zagorskyi [ 2011 Feb 20 ]

i do not want to create separate issue, so i write here.
How to reproduce:
1. For example open the triggers for the Template_Linux and open any trigger with DIFF function.
2. Toggle input method
3.Click to expression
4.Press Edit button
5.voila - in the Function field you see a incorrect function preselecting (is not the "diff >").
The same for other function - regexp, and maybe not only.

Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 21 ]

Oleksiy, this relates to https://support.zabbix.com/browse/ZBX-3454
I've reposted your comment there.

Comment by Konstantin Buravcov (Inactive) [ 2011 Feb 21 ]

merged: branches/1.8 r17920:17922

Generated at Sat Apr 05 02:07:03 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.