DependencyTrack / DependencyTrack/frontend

Marking a project as inactive requires a reload before seeing other versions in the version selection

Open
#1,652 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

### Current Behavior

When marking a existing project as inactive over the Project Details Window:

Image

afterwards the version selection does not show the other existing versions

Image

First after a refresh using a F5 the other versions are shown correctly

Image

### Steps to Reproduce

1.Create a Project with different versions.
2.Mark a Version as inactive and open the version selection immeditaly afterwards.
3.The same thing happens when marking the version as "active" again

### Expected Behavior

I would expect the version selection to show all the existing version (with the version just marked as inactive also shown in the inactive section) in the list.

D-Track Version 5.0.2 (Frontend and apiserver)
Tested on Vivaldi and Edge

### Dependency-Track Frontend Version

5.x

### Browser

Microsoft Edge

### Browser Version

Version 150.0.4078.48

### Operating System

Windows

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/main/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

Start in the frontend code for the Project Details Window and its version selection after toggling a version's active state. Reproduce the issue with a project containing multiple versions, then verify that the selection immediately shows all versions in the correct active or inactive section without a browser refresh.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.