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

Map element label textarea has no limit and allows to enter long name and then fails to update later

XMLWordPrintable

    • S24-W28/29, S24-W30/31, S24-W34/35
    • 0.5

      Create a new map and add an element. Doesn't matter what type.
      Label is a textarea field, which allows a long label. So do that, add a long label. Try to update the map. And instead, receive an error:

      1. Textarea should have a symbol limit. Can make it fancy by adding a symbol counter.
      2. API should validate map labels. The error seen in attached image comes from sysmap.php. Posting long label in API directly, the error comes from DB.php when DB insert fails.

            iivs Ivo Kurzemnieks
            iivs Ivo Kurzemnieks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5.3h
                5.3h