Skip to content

Policy Condition Fails to Update #508

@phptek

Description

@phptek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSomething isn't workinggood first issueGood for newcomersp3Nice-to-have features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions