Map appears to show duplicate links

Description

Once you created a map that shows nodes with links, requesting the map to had more nodes with links by choosing the 'Add Neighs" option and clicking a node does work to add the neighboring nodes but it also redraws all the currently existing links. Each time you do this, you get the existing links redrawn. These duplicated lines drawn representing the links are actually only artifacts of the single link that exists in the DB. If you save the map, close it, and then reopen, you only have one line for each link again. Sometimes, when you close the map, you will see artifacts of these duplicate linkes on the blank map with no nodes displayed.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Antonio Russo November 20, 2011 at 3:05 AM

Fixed on 1.8,1.10 and master:

To ssh://rssntn67@opennms.git.sourceforge.net/gitroot/opennms/opennms
084c2bb..5ad049c 1.10 -> 1.10
d509db7..882fd44 1.8 -> 1.8
ef0b6cd..cb95f11 master -> master

commit 882fd4400390176a04ed3a6f6db96d2663815221
Author: Antonio <rssntn67@yahoo.it>
Date: Sun Nov 20 08:56:48 2011 +0100

Fix Map duplicate links

When adding node in admin mode
the persisted links are duplicated.
Removed the links before redrawing the
map with the element added.

Antonio Russo November 15, 2011 at 3:30 PM

I know this issue! I wonder it was not very important just because it happens in "Admin" mode.
When you go back to "Refresh" mode the links shown are right!

I imagine that I just have to remove all the links before adding one.

Should be a fix not very complicate...but I have to renavigate the map code...I have written!
Maps is like Mars....it is my home but I'm so far from there now!

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 15, 2011 at 10:04 AM
Updated January 27, 2017 at 4:20 PM
Resolved November 20, 2011 at 3:05 AM