DependencyTrack / DependencyTrack/frontend

Switch project version does not change parent

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

Description

### Current Behavior

I have more than one version of a project, but with different parents.
After switching to a different version of this project, the old parent value is still displayed in the edit dialog.

### Steps to Reproduce

1. Create two projects with the same name but different version and parent values.
2. Open a project, view the details and close the details dialog again.
3. Now change the version and open the details dialog and you will see the parent of the other version.

### Expected Behavior

After a version change, all values of the current project version should be visible.

### Dependency-Track Frontend Version

4.12.7

### Browser

Mozilla Firefox

### Browser Version

136.0

### Operating System

Linux

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

Research direction

Reproduce the issue in the Dependency-Track frontend by creating same-name project versions with different parents, then switching versions and reopening the details dialog. Trace how the selected version populates the dialog; done means every displayed value, including the parent, belongs to the current project version.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.