DependencyTrack / DependencyTrack/frontend

Expanding graph node: "A is undefined"

Open
#966 4 comments 0 reactions 0 assignees View on GitHub
defect p2 size/S
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### 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.

![image](https://github.com/user-attachments/assets/f0ac2c6a-3f14-4b08-aa0f-50d3b4866db5)

It's an SBOM produced by cdxgen from a complex android app using gradle.

### Steps to Reproduce

1. Open a specific project with unknown triggering conditions
2. Open Graph, root + 1st level shows fine
3. Expand any 2nd level by clicking "+"
4. 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](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.