DependencyTrack / DependencyTrack/frontend

Policy Condition Fails to Update

Open
#508 2 comments 1 reaction 0 assignees View on GitHub
defect good first issue p3
Dominant language
Vue
Stars
171
Forks
250
Avg merge
11h 12m
Merged PRs (30d)
82

Description

### Current Behavior

Attempting to update an "Age" Policy condition should allow me to change the operator e.g. from `<` to `>`, but upon making the change, and reloading my browser, the change is lost.

### Steps to Reproduce

1. [OK] Login to DT
2. [OK] Navigate to Project > Policy Management
3. [OK] Create new "Age" condition
4. [OK] Select previously created "Age" condition
5. [FAIL] Attempt to change the operator
6. [FAIL] Observe that operator has changed by reloading the page in the browser and selecting the previous "Age" condition

### Expected Behavior

Expected the "Updated" dialogue to appear when the operator was changed and for the operator to be changed e.g. from `<` to `>`

Version is actually 4.8.2 development version built with docker-compose on Ubuntu 22.04, but this version isn't selectable.

### Dependency-Track Frontend Version

4.8.1

### Browser

Brave Browser

### Browser Version

Brave Browser 1.50.119

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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.