Multiple nodes with same name collapsed in SLM category views

Description

Steps to reproduce:

1. Create two nodes by any method
2. Set both nodes to have the same label e.g. "foo"
3. View the "All" interfaces option for an SLM category that includes interfaces from both nodes
4. Note that there's just a single node labeled "foo" present in the view. The node ID may vary but will always be that of one of the two "foo" nodes created in step 1.
5. Rename either node to "foobar", repeat steps 3-4, note that both nodes now appear.

The problem is that rtc/category.jsp uses a TreeMap to order the display of nodes alphabetically by node label, which effectively de-duplicates them by node label as well, producing this undesired behavior.

Environment

Operating System: All Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed May 14, 2009 at 2:05 PM

verified:

wanker 0 of 2 100.000%
wanker (nodeid=6) 0 of 2 100.000%

merged to branches/1.6, r13364

Jeff Gehlbach April 15, 2009 at 10:48 AM

Fix committed to 1.6-testing at r13007 and merged to trunk at r13008

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created April 14, 2009 at 12:28 PM
Updated February 3, 2011 at 2:46 PM
Resolved May 14, 2009 at 2:52 PM