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

Topology UI Error when deleting a graphml

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • Backlog
    • 30.0.1
    • Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • None
    • Horizon 22 - Jun 23 - Jul 7, Horizon 22 - Jul 7 - Jul 21

    Description

      To reproduce this issue, just create a graphml using a source like test-topology.xml
      that you can find in our source code smoke-test/src/test/resources/topology/graphml/test-topology.xml

      Then create the graph with the command:

      curl -X POST -H "Content-Type: application/xml" -u admin:admin -d@./src/test/resources/topology/graphml/test-topology.xml 'http://localhost:8980/opennms/rest/graphml/test'

      you'll have access the topologyUI page and in the view menu the provided graph is available.

      Then delete the graph:

      curl -X DELETE -u admin:admin 'http://localhost:8980/opennms/rest/graphml/test'

      Reload the topology UI and you got an unrecoverable error. 

      Attachments

        Activity

          People

            cpape Christian Pape
            rssntn67 Antonio Russo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: