Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24582

Long value should be removed from the error message

XMLWordPrintable

    • S24-W26/27, S24-W32/33, S24-W34/35, S24-W36/37, S24-W38/39, S24-W42/43, S24-W44/45
    • 1

      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 ..."

        1. image-2024-09-18-11-47-26-214.png
          16 kB
          Romans Trizna
        2. image-2024-09-18-11-48-35-867.png
          15 kB
          Romans Trizna
        3. image-2024-09-19-16-23-59-310.png
          33 kB
          Romans Trizna
        4. image-2024-09-19-16-48-28-532.png
          33 kB
          Romans Trizna
        5. image-2024-09-19-17-16-32-931.png
          15 kB
          Romans Trizna
        6. long_value_newlines.jpg
          442 kB
          Artjoms Rimdjonoks
        7. master_file_with_1.4MB_of_hotdogs.jpg
          1.31 MB
          Artjoms Rimdjonoks
        8. value.png
          102 kB
          Juliana Iljina
        9. ZBX-24582_file_with_1.4MB_of_hotdogs.jpg
          518 kB
          Artjoms Rimdjonoks
        10. ZBX-24582 5th issue.png
          16 kB
          Deniss Ponomarenko
        11. ZBX-24582 7th issue.png
          20 kB
          Deniss Ponomarenko

            arimdjonoks Artjoms Rimdjonoks
            jiljina Juliana Iljina
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 109h 24.4m
                109h 24.4m