DependencyTrack / DependencyTrack/frontend
Missing team selection when creating multiple projects in a row
- Dominant language
- Vue
- Stars
- 171
- Forks
- 250
- Avg merge
- 10h 56m
- Merged PRs (30d)
- 84
Description
### Current Behavior
Team cannot be selected and is empty.
### Steps to Reproduce
Prerequisites: PAC is activated (by an Admin) and the non-admin user is assigned to one team.
1. Login as non-admin user
2. Try to create a project nr. 1. => the assigned team should be preselected and the 'Team' selection should be mandatory.
3. Create project. And DO NOT refresh the page or change to another menu etc.
4. Create a second project right away. The team is not selectable (as seen in screenshot) and when clicking on 'create' the project is still created but it is not assigned to any access team.
* When you refresh the page in-between the creation of the two projects, everything is fine.
### Expected Behavior
The team should be selectable even though the page is not refreshed in any way. (In case the user is assigned to only one team, the team should already be pre-selected).
### Dependency-Track Frontend Version
4.14.0-SNAPSHOT
### Browser
Google Chrome
### Browser Version
_No response_
### 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
Research direction
Reproduce the issue in Dependency-Track frontend 4.14.0-SNAPSHOT using Chrome: create two projects consecutively as a non-admin assigned to one team without refreshing. Inspect the project-creation form state between submissions. Done means the second form allows team selection, preselects the sole assigned team, requires it, and assigns the team to the new project.
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
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100