[ZBX-15106] Improve error messages for preprocessing steps using regular expressions Created: 2018 Oct 31  Updated: 2024 Apr 10  Resolved: 2018 Nov 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.1, 4.2.0alpha1
Fix Version/s: 4.0.2rc1, 4.2.0alpha1, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Andris Zeila Assignee: Alex Kalimulin
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File regex.diff    
Issue Links:
Causes
causes ZBX-17691 Server crashes on regexp preprocessing Closed
Team: Team A
Team: Team A
Sprint: Sprint 46, Nov 2018
Story Points: 0.5

 Description   

Regular expression and regular expression error preprocessing steps return simple 'invalid regular expression' error if the regular expression compilation fails. It would be better to return the original (pcre) failure message.



 Comments   
Comment by Alex Kalimulin [ 2018 Nov 16 ]

Fixed in:

  • pre-4.0.2rc1 r86988
  • pre-4.2.0alpha1 r86990
Generated at Sat Apr 20 08:14:58 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.