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

Node label accepts ampersand (&) symbol, but it breaks graphing

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2019 - July 24th

      Description

      I can create anode with an & character (I have anode named CRA_Buck&Smith), but if I try to plot resource graphs for that node it throws an exception:

      2018-03-05 10:50:08,839 WARN [qtp2036789693-8441] o.e.j.s.HttpChannel: /opennms/graph/results.htm │
      │javax.servlet.ServletException: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Ill-formed│
      │ resource ID: node[CameraInventory:CRA_Buck
      │ at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:138) ~[jetty-server-9.4.2.v20170220.jar:9.4.2.v20170220] │LE
      AS│ at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[jetty-server-9.4.2.v20170220.jar:9.4.2.v20170220]
      │ at org.opennms.netmgt.jetty.MDCHandler.handle(MDCHandler.java:46) ~[opennms-jetty-21.0.4.jar:?]

        Attachments

          Activity

            People

            • Assignee:
              cpape Christian Pape
              Reporter:
              beerygaz Gavin Hill
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: