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

Incorrect validation of requisition name for DNS external requisitions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 30.0.0
    • 30.0.0
    • Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • No

    Description

      Steps to reproduce:

      1. Add a new external requisition (or edit an existing one)
        1. External source = DNS
        2. Host = ns1.example.com
        3. Zone = example.com
        4. Requisition name = example_dot_com
        5. Schedule type and rescan behavior = irrelevant
      2. Click "Save & Close"

       

      Actual result:

      • The "Requisition Name" field invalidates the form, with hint text "Invalid hostname"

      Expected result:

      • The "Requisition Name" field allows underscores and certain other characters that may be invalid in a hostname, following the same rules as the main requisition editor
      • Hint text when this field fails to validate indicates "Invalid requisition name"

       

       

      Attachments

        Activity

          People

            cle chinh
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: