Skip to content

Tags (and possibly other settings) are not always saved #1458

@roadSurfer

Description

@roadSurfer

Current Behavior

Depending on the what the user does, tags (and maybe other settings, I have not checked) are not always saved. This can lead to annoyance and frustration.

Workaround

Always press "Enter" or click anywhere else on the dialog before clicking on "Update".

Steps to Reproduce

  1. Open the details for any project
  2. Type in a new tag and do not press enter or click anywhere else
  3. Now click the "Update" button
  4. Observe that there is a brief flicker as if the tag has been accepted
  5. Observe that "Project updated" is displayed
  6. Now open the details again
  7. Observe that the tag was not actually saved

Expected Behavior

When a user enters a tag (or any other value) and "Update" is clicked, all values should be validated and committed before the update is sent. Even if the user has not pressed "Enter" or clicked on any other part of the screen.

I am assuming this is just an event order issue.

Dependency-Track Frontend Version

4.13.6

Browser

Mozilla Firefox

Browser Version

147.0.3 (64-bit)

Operating System

Linux

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions