Selecting an Icon on Topology Map breaks the map

Description

Change the icon on the topology map works to change the icon but you can no longer navigate the map or make any selections, etc. You have refresh the page.

Acceptance / Success Criteria

None

Attachments

1
  • 29 Mar 2020, 12:56 AM

Lucidchart Diagrams

Activity

Show:

Benjamin Reed April 7, 2020 at 3:19 PM

fixed in foundation-2019

Benjamin Reed April 1, 2020 at 8:43 PM

PR: https://github.com/OpenNMS/opennms/pull/2951

There will also be a larger version of this PR for develop that does this for all "vendor" dependencies more cleanly.

Patrick Schweizer March 30, 2020 at 4:13 PM

I am a bit stuck here since I am not very familiar with Javascript debugging in the browser...
would you be able to help me out here? Any ideas / hints are greatly appreciated!

Patrick Schweizer March 29, 2020 at 2:45 PM

Testing a bit more:
I see the same behavior without changing the icon. Just opening the change icon dialog and then cancelling will also result in the same problem. It seems the problem is connected to the popup window and not the icon change logic...

Patrick Schweizer March 29, 2020 at 12:59 AM

It looks like after the dialog is closed the variable $wnd.d3.event is null:


Some posts on the internet suggest that this can be caused if the d3 library is loaded twice:
https://groups.google.com/forum/#!topic/d3-js/bwdNirt2uEU

Fixed

Details

Assignee

Reporter

Sprint

Affects versions

Priority

PagerDuty

Created February 19, 2020 at 1:43 AM
Updated April 7, 2020 at 3:19 PM
Resolved April 7, 2020 at 3:19 PM

Flag notifications