Bad design of the map.get expandUrls parameter

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 2.0.5, 2.1.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: