[ZBX-15533] Event tags are cut before trimming whitespace Created: 2019 Jan 28  Updated: 2024 Apr 10  Resolved: 2019 Feb 10

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.0.3, 4.2.0alpha2
Fix Version/s: 4.0.5rc1, 4.2.0beta1, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Andris Zeila Assignee: Andrejs Sitals (Inactive)
Resolution: Fixed Votes: 0
Labels: tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team A
Sprint: Sprint 48, Jan 2019, Sprint 49 (Feb 2019)
Story Points: 0.125

 Description   

When generating event tags server first cuts them to TAG_NAME_LEN, TAG_VALUE_LEN size and only then tries to remove whitespace from both ends, which is backwards.

First the whitespace must be trimmed and only then (if the tag/value size is still larger than field size) cut.



 Comments   
Comment by Andrejs Sitals (Inactive) [ 2019 Jan 31 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15533

Comment by Andrejs Sitals (Inactive) [ 2019 Feb 05 ]

Available in versions:

  • pre-4.0.5rc1 r89439
  • pre-4.2.0alpha4 (trunk) r89440
Generated at Fri Apr 26 16:20:03 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.