The button to add a graph to a KSC report doesn't work

Description

On the resource graphs page (the one on which you can see several graph for different kind of resources at the same time), the button for adding a graph to an existing KSC report works only for node-level resources, but it doesn't work for any interface or generic-index resource.

Although, if you click on the binocular icon for particular graph (associated with an interface or generic-index resource), and then try to add it to a KSC it works.

Interestingly, if you choose multiple resources excluding the node-level resource, the UI works, but only for the first resource.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue September 20, 2017 at 2:45 PM

Alejandro Galue September 20, 2017 at 2:28 PM

I know what's happening here, and it was my fault

The problem is that the ng-app is not declared properly, so there is more than one tag, which is why only the first resource works. Moving this declaration on a higher level fixes the problem. I'll create a PR soon.

Alejandro Galue September 20, 2017 at 1:50 PM

I can confirm that the problem exist on 19.1.0. I'm going to try 19.0.0 (which was the first release on which the angular version of the KSC-Add handler was introduced), to see if it works.

Alejandro Galue September 19, 2017 at 10:00 PM

Looks like it is.

Ron Roskens September 19, 2017 at 9:39 PM

Duplicate of NMS-9204?

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created July 7, 2017 at 4:09 PM
Updated October 5, 2017 at 8:41 PM
Resolved October 5, 2017 at 8:41 PM