Skip to content

Error Message not readable when creating new Vulnerability #1548

Open

Description

@HannesD1

Current Behavior

When trying to add a Identifier under the "Affected Components" Window in the "Create Vulnerability" Window the error Message that appear when typing in something wrong cannot be read, since the Window closes directly after pressing the "Add" Button

Image

Steps to Reproduce

1.Try to add a Affected Component Identifier like Purl in the Create Vulnerability Tab
2. Insert something wrong like "pkg:generic/mcuboot/mcuboot"

Expected Behavior

The Error Message that comes up (You can see it for like sub second duration before the window closes) should be some displayed longer. Maybe the window should rather be left open when something wrong was typed instead of beeing closed?

Hyades Version

v5.7.0-alpha.9-SNAPSHOT

Repository Type

Hyades services

Browser

Other

Checklist

Activity

  1. added
    defect
    on May 28, 2026
  2. HannesD1 commented on May 28, 2026

    @HannesD1
    Author

    Maybe a different topic but the same package pkg:generic/mcuboot/mcuboot that i tried to add here works on Version 4.14. idk if this is related

  3. nscuro commented on May 28, 2026

    @nscuro
    Member

    The error message is showing because the state of the modal is reset after submit. So there is a short duration where the modal is still shown, and its validation logic kicking in because the value has been removed. But the data should still be added.

    It seems that state management has a bug. When you open the dialogue for the first time, the affected component adds fine. If you close the dialogue and open it again, it doesn't add data anymore, requiring a reload to work again:

    Kapture.2026-05-28.at.14.53.58.mp4
  4. added
    p2
    size/S
    and removed on May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectp2size/S

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions