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

URL Field limitation is set to 255 charecters

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.3
    • Frontend (F)
    • None

      Steps to reproduce:

      1. Open any trigger to edit.
      2. Navigate to URL Field
      3. Try to paste following: https://kb.example.com/display/rasp/Test#tf-filters=%7B%22selectfilters%22%3A%5B%5D%2C%22userfilters%22%3A%5B%22model%22%2C%22Code%22%5D%2C%22numberfilters%22%3A%5B%5D%2C%22datefilters%22%3A%5B%5D%2C%22globalfilter%22%3Afalse%2C%22columnhider%22%3Afalse%2C%22iconfilters%22%3A%5B%5D%2C%22defaults%22%3A%5B%22Equip_Barco%20DP2K-20C%22%2C%225003%22%5D%2C%22width%22%3A%5B%22150%22%2C%22150%22%5D%2C%22inverse%22%3A%5Bfalse%2Cfalse%5D%2C%22order%22%3A%5B0%2C1%5D%2C%22sorts%22%3A%5B%5D%7D 

      Result:
      Full pasted URL is truncated to following: https://kb.example.com/display/rasp/Test#tf-filters=%7B%22selectfilters%22%3A%5B%5D%2C%22userfilters%22%3A%5B%22model%22%2C%22Code%22%5D%2C%22numberfilters%22%3A%5B%5D%2C%22datefilters%22%3A%5B%5D%2C%22globalfilter%22%3Afalse%2C%22columnhider%22%3Afalse%

       

      The firebug Expect element shows input field maxlength is set to 255
      See attached screenshot.
      Expected:
      Expected to be able to paste full URL to the trigger URL Field

       

      Environmen:

      We use Atlassian Confluence as Knowlage base for storing documentation on What to do when the notification from Zabbix is reveived. We use Telegram webhook as notification mechanism and use {TRIGGER.URL} with markdown turned on, in order to have single click from Telegram bot message to Knowlage base. Confluence has plugin installed Table enchencer whis is caple of parsing URL parameters to filter page content. 

      The URL is as follows:

      https://kb.example.com/display/rasp/Test#tf-filters=%7B%22selectfilters%22%3A%5B%5D%2C%22userfilters%22%3A%5B%22model%22%2C%22Code%22%5D%2C%22numberfilters%22%3A%5B%5D%2C%22datefilters%22%3A%5B%5D%2C%22globalfilter%22%3Afalse%2C%22columnhider%22%3Afalse%2C%22iconfilters%22%3A%5B%5D%2C%22defaults%22%3A%5B%22E*+

      {HOST.NAME}+%22%2C%22*{ITEM.VALUE}%22%5D%2C%22width%22%3A%5B%22150%22%2C%22150%22%5D%2C%22inverse%22%3A%5Bfalse%2Cfalse%5D%2C%22order%22%3A%5B0%2C1%5D%2C%22sorts%22%3A%5B%5D%7D

      As you see we send *+{HOST.NAME}

      and {ITEM.VALUE}* +macros as URL parameters.

       

      Please expend field URL to 2048 charecters in view and database.

      Also please point us to the nessesary files in the source code where we can change the view or controller logic to be able to have paste 2048 charecter URLs to triggers.

            zabbix.support Zabbix Support Team
            mxkcnma Max
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: