Map navigation tree widget displays one of the maps as selected, even if it has no listener widgets

XMLWordPrintable

    • S26-W02/03
    • 1

      Problem description: After implementation of ZBXNEXT-9228 it was decided that broadcasting widgets should only show some selected value by default only in case if a listener widget exists, that listens to some value from this broadcaster. In case if a broadcaster doesn't have any listeners, it should not mark any entities by default as selected.
      In case of Map navigation tree widget this is not true, since this widget remembers the previously selected value, therefore it is possible that there are no widgets that listen to a Map navigation tree widget, but it can still display some map as selected by default. This behavior contradicts with the behavior of host navigator and item navigator widgets:

      Steps to reproduce:

      1. Create a new dashboard
      2. Add the following widgets to the dashboard and make sure that they have some entries:
        1. Map navigation tree widget
        2. Host navigator widget
        3. Item navigator widget
      3. Save dashboard
      4. Select entries in all three navigator widgets
      5. Reload page

      Result: Map navigation tree widget remembered the last selected entry and displays it as selected, even though it has no listener widgets. Host navigator and Item navigator work as expected (no entries are selected).
      Expected: Because none of the widgets have any listeners, no entries should be selected by default on all three navigator widgets.

            Assignee:
            Wiktor Czerneha
            Reporter:
            Sergejs Olonkins
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: