Switching Topology Providers causes Exception
Description
Acceptance / Success Criteria
Lucidchart Diagrams
Activity

Markus von Rüden February 9, 2017 at 6:12 AM
When merging PR https://github.com/OpenNMS/opennms/pull/1274 we broke the "View in Topology" functionality from the node details page. PR https://github.com/OpenNMS/opennms/pull/1282 addresses this issue for 18.0.4

Markus von Rüden February 8, 2017 at 5:00 AM
PR: https://github.com/OpenNMS/opennms/pull/1277 to merge to 19.0.0

Markus von Rüden February 7, 2017 at 6:07 AMEdited
I reopen this issue as it is not fixed (See ).
Having a deeper look at the code the problem is the CommandManager. It is responsible to update the menu bar for all topology ui in the following cases:
Menu item click
New/removed Operation or Command
Whereas the 2nd scenario works, the first does not.
It results in user 1 triggering a ui update on user 2's session.
This is what the original exception is expressing.

Jesse White April 21, 2016 at 2:02 PM
It looks like occurs when we try to add a component, which was previously attached to a container, to a new container.
The only component provided by any of the InfoPanelItems that is shared among many containers is the HudDisplay. All of the other components are created on demand.
That said, we should avoid sharing the HudDisplay components as well in order to avoid this.
When using the Topology UI sometimes when switching the topology provider an "Error occured. See Karaf.log" Notfiication is shown.
Investigating the log file, reveals this:
There seems to be an issue. This should be investigated.