frontend
frontend copied to clipboard
Expanding graph node: "A is undefined"
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
- Open a specific project with unknown triggering conditions
- Open Graph, root + 1st level shows fine
- Expand any 2nd level by clicking "+"
- Wait mouse icon on that "+" never goes away, graph doesn't open and error in console as shown above.
Expected Behavior
Should expand the graph.
Dependency-Track Frontend Version
4.11.4
Browser
Mozilla Firefox
Browser Version
No response
Operating System
Windows
Checklist
- [X] I have read and understand the contributing guidelines
- [X] I have checked the existing issues for whether this defect was already reported