-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expanding graph node: "A is undefined" #966
Comments
Should be this code line:
|
Seems like a rather simple thing to fix with an additional I'm thinking displaying a red, or otherwise highlighted node, to point out this issue would be preferable over a simple warning popup. Also, BOM Upload Processing V2 should log a warning when it encounters "broken" dependency graphs: https://github.com/DependencyTrack/dependency-track/blob/122039a5d1bee1156cdef93f5a2fc5f1015959bc/src/main/java/org/dependencytrack/tasks/BomUploadProcessingTaskV2.java#L657-L660. Would be interesting if it catches this specific issue. |
Probably best, with some mouseover information?
Doesn't seem like it catched it:
|
I do not think that colour should be used (or, not colour alone) as Dependency-Track has a requirement to be accessible. Is the way that we use mouseover in DT compatible with accessibility requirements? |
Current Behavior
I have a project which seems to break the frontend graph. Can't share the SBOM unfortunately, but maybe we can identify the failure anyway or at least add some error handling to that place.
The map "a" here doesn't contain the UUID of the component that is tried to read from it, resulting in A being undefined in the next line.
It's an SBOM produced by cdxgen from a complex android app using gradle.
Steps to Reproduce
Expected Behavior
Should expand the graph.
Dependency-Track Frontend Version
4.11.4
Browser
Mozilla Firefox
Browser Version
No response
Operating System
Windows
Checklist
The text was updated successfully, but these errors were encountered: