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

Bad design of the map.get expandUrls parameter

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.0.5, 2.1.0
    • API (A)

      If you make a call to map.get requesting map elements URLs, only the URLs defined for the map element will be returned. But, if you use the "expandUrls" parameter it will also URLs defined for a map. Needless to say, this design is very bad, an "expand*" parameter must not affect what elements are returned.

      One of the ways to resolve this issue is to return map URLs for each element in a separate "mapUrls" property, and let the "expandUrls" parameter control, whether macros in both "urls" and "mapUrls" must be expanded.

            Unassigned Unassigned
            jelisejev Pavels Jelisejevs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: