DependencyTrack / DependencyTrack/dependency-track

Switching project version does not update property in view

Open
#1,809 1 comment 0 reactions 0 assignees View on GitHub
in triage
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior:
When using the version switch in the project view next to the project name, the project properties are not updated.

### Steps to Reproduce:
Create two identical projects with different versions (Dev, Prod)
Add a property with following data to Prod: integrations; defectdojo.engagementId; 1; STRING;
Add a property with following data to Dev: integrations; defectdojo.engagementId; 2; STRING;
Open the Project Prod and view the property, the value should show 1
Close the property window (do not go back to the project list)
Use the arrow next to the projects name to switch to Stage
Now view the properties again
The value should still show 1
Now refresh the page and view the properties again
The value should show 2

### Expected Behavior:
After switching versions with the arrow next to the project name, it should update the properties.

### Environment:

- Dependency-Track Version: 4.5.0
- Distribution: Docker
- Database Server: PostgreSQL
- Browser: Chrome & Edge

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.