[ZBX-21817] 'Invalid parameter "/1/name": cannot be empty.' error message is not suitable for users Created: 2022 Oct 26  Updated: 2024 Apr 10  Resolved: 2022 Oct 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.29rc1, 6.0.10rc1, 6.2.4rc1, 6.4.0beta2
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Kirils Seve Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: errormessage, import
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-10-26-13-46-27-080.png     XML File zbx_export_hosts_empty_names.xml    
Issue Links:
Duplicate
duplicates ZBX-7197 technical field names instead of read... Postponed
Team: Team B

 Description   

The bug is moved from ZBX-16432 sub-issue #6

Steps to reproduce:

  • Create a host with an item, application, and graph.
  • Export host (XML file).
  • Delete a value from host's<name> field and from any other <name> field (XML file) or use file from e.g. zbx_export_hosts_empty_names.xml .
  • Import it back.
  • Check the error message

Result: Error appears: 'Invalid parameter "/1/name": cannot be empty.'

There are a lot of places where 'name' is used and It's hard to understand which one of them cannot be empty. E.g. parameter 'name' under hosts can be empty (the visible name is not mandatory).
Except: error message should be more understandable for users.


Generated at Tue Jul 01 07:23:09 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.