DependencyTrack / DependencyTrack/frontend

Can't Limit to tags on policy

Open
#1,403 1 comment 1 reaction 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

In policy management, the Select Tag menu does not list any tag, nor does the search bar works.

Older policies still display the tags previously selected, but I can't add new tags to them, nor select any tags on new policies.

Image

The issue seem to come from the API request when openning the Tags menu, it is filtered on the current policy instead of all tags availables :
`/api/v1/tag/?searchText=&pageSize=10&pageNumber=1`

Image

### Steps to Reproduce

1. Add a tag to any project
2. Go to `Policy Management`
3. Create a Policy
4. Open `Limit to` menu
5. Clic on `+` in `limit to tags` menu
6. No tags selectable or searchable

### Expected Behavior

Be able to select and search tags in the `Limit to` menu

### Dependency-Track Frontend Version

4.13.6

### Browser

Mozilla Firefox

### Browser Version

_No response_

### Operating System

Windows

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