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

SCV entry attribute values become literal asterisks after editing in web

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 30.0.0
    • 30.0.0
    • Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • 1
    • Horizon - May 11 - 25
    • Hide
      • Attribute values (which are not secrets) render as regular text, not asterisks, when editing.
      • Password input renders as empty, with asterisks as placeholder text, when editing
      • Password value is not sent on form submission unless user enters a value (avoid clobbering a password with the empty string)
      Show
      Attribute values (which are not secrets) render as regular text, not asterisks, when editing. Password input renders as empty, with asterisks as placeholder text, when editing Password value is not sent on form submission unless user enters a value (avoid clobbering a password with the empty string)

    Description

      Steps to reproduce:

      • Open the New UI Preview -> Secure Credentials Vault
      • Add a credential with alias test, username admin, password adm1n
      • Add an attribute with key first, value alpha
      • Click Update Credentials
      • Edit the test entry; do not make any changes to the form, just click Update Credentials again.
      • From the Karaf shell, issue scv-get test

      Expected result:

      • Attribute first has value alpha

      Actual result:

      • Attribute first has value ******

      I have a hunch that the password for the entry is similarly affected, but have not had time to test that hypothesis since the password value is trap-doored.

      Attachments

        Activity

          People

            cgorantla Chandra Gorantla
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: