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

Requisition UI breaks when percentage sign is used inside Foreign ID input field

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Meridian-2016.1.4
    • Fix Version/s: 19.1.0, Meridian-2016.1.5
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      macOS, foundation-2016, org.opennms.rrd.storeByForeignSource=true
    • Sprint:
      Horizon - April 12th, Horizon - April 19th

      Description

      While working on NMS-7548 I stumbled across some problem in the requisition UI. When using a percentage sign inside a Foreign ID of a node, the node isn't editable anymore. Steps to reproduce:

      1. create a requisition
      2. add a node with Foreign ID set to something like aaa%20bbb
      3. hit Save and Return
      4. hit the Edit button

      The resulting page is broken and it is not possible to edit the node or any of the associated fields. Synchronization and displaying of the resource graphs works - so, I think it just a encode/decode issue in the Web UI.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              cpape Christian Pape
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: