Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6225

There is no link to "Resource Graphs" on any page of the WebUI when storeByForeignSource is enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.12.1
    • Fix Version/s: 1.12.2
    • Component/s: Web UI - Reporting
    • Security Level: Default (Default Security Scheme)
    • Labels:

      Description

      There are several JSP pages that build a "Resource Graphs" link on the rendered page only if ResourceService.findNodeChildResources(nodeId) returns a non empty list.

      The problem is that this method is designed to look for OnmsResources based on node's ID which is not going to work with storeByForeignSource.

      The method in question is being used by the following JSPs:

      • bridgenode.jsp
      • interface.jsp
      • linkednode.jsp
      • node.jsp
      • routeipnode.jsp
      • snmpinterface.jsp

      None of them are going to display a graph link.

      The idea is to add a new method to pass an OnmsNode object instead of the nodeId in order to apply the proper logic inside ResourceService, in order to return all possible resources no matter if storeByForeignSource is enabled or not.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: