[ZBX-24582] Long value should be removed from the error message Created: 2024 Jun 04  Updated: 2024 Nov 07  Resolved: 2024 Nov 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.31rc1, 6.4.16rc1, 7.2.0alpha1
Fix Version/s: 6.0.36rc1, 7.0.6rc1, 7.2.0beta1

Type: Problem report Priority: Trivial
Reporter: Juliana Iljina Assignee: Artjoms Rimdjonoks
Resolution: Fixed Votes: 0
Labels: errormessage
Remaining Estimate: Not Specified
Time Spent: 109h 24.4m
Original Estimate: Not Specified

Attachments: PNG File ZBX-24582 5th issue.png     PNG File ZBX-24582 7th issue.png     JPEG File ZBX-24582_file_with_1.4MB_of_hotdogs.jpg     PNG File image-2024-09-18-11-47-26-214.png     PNG File image-2024-09-18-11-48-35-867.png     PNG File image-2024-09-19-16-23-59-310.png     PNG File image-2024-09-19-16-48-28-532.png     PNG File image-2024-09-19-17-16-32-931.png     JPEG File long_value_newlines.jpg     JPEG File master_file_with_1.4MB_of_hotdogs.jpg     PNG File value.png    
Team: Team C
Sprint: S24-W26/27, S24-W32/33, S24-W34/35, S24-W36/37, S24-W38/39, S24-W42/43, S24-W44/45
Story Points: 1

 Description   

To make the error more readable, the long value can be removed from the error message. The user can see it in the "Value" field.

Steps to reproduce:
1) Create item with type - HTTP agent
(fill URL with any link, f.e. https://www.zabbix.com/);
2) Press "Test" button;
3) In appeared form press - "Get value and test".

Result:
An error is too long and incomprehensible to the user.

Expected:
Such a large value could be shown partially and an ellipsis could be added. Anyone who wants to see entire message can see the value below in the “Value” field.

For example:
Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "<!doctype html><html itemscope="" itemtype="fg"lang="lv"><head><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta content="/images ..."



 Comments   
Comment by Romans Trizna [ 2024 Oct 16 ]

Available in versions:

Generated at Tue Apr 15 09:14:59 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.