You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error Message not readable when creating new Vulnerability #1548
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
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?
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:
Activity
HannesD1 commentedon May 28, 2026
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
nscuro commentedon May 28, 2026
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