[ZBX-22258] Different sorting and error message approach for empty tag name Created: 2023 Jan 26  Updated: 2023 Jan 27

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.4.0beta6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Sergejs Maklakovs Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: error, errormessage, sorting, tags
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File host_tag_sorting.gif     GIF File items_tag_sorting.gif     GIF File template_tag_sorting.gif     GIF File triggers_tag_sorting.gif    
Sprint: Technical backlog

 Description   

There is one scenario for each case:
add 3 tags.
1) 1a:1a
2) 2a:2a
3) <empty>:3a

1) Host.

Error message - Invalid parameter "/1/tags/3/tag": cannot be empty. No sorting (empty tag stays on position - 3).

2) Items.

First time pressing Update button - Invalid parameter "/1/tags/3/tag": cannot be empty. The third tag changed its position and placed first. Clicking update one more time error message changed to the correct one - Invalid parameter "/1/tags/1/tag": cannot be empty.

3) Triggers.

Pressing update button - Invalid parameter "/1/tags/1/tag": cannot be empty. Tag with empty name moved to first position and correct error message displayed.

4) Templates.

Clicking first time Update button - Invalid parameter "/1/tags/3/tag": cannot be empty. Tag moved to the first position. After clicking update button one more time - still the same error.

So right now we have 4 different methods to display errors for incorrect tags.


Generated at Fri May 22 20:07:36 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.