DependencyTrack / DependencyTrack/frontend
Dependency-Track BASE_PATH removed in projects
- Dominant language
- Vue
- Stars
- 171
- Forks
- 250
- Avg merge
- 10h 56m
- Merged PRs (30d)
- 84
Description
### Current Behavior
After fixing issue #1288, which duplicated BASE_PATH, when opening a project in a new tab, the BASE_PATH is removed, resulting in a 404 Not Found error.
### Steps to Reproduce
1. Open Projects tab.
2. Right-click on a project > Open link in a new tab.
3. It throws a 404 Not Found. The new tab does not reflect the BASE_PATH. E.g.: instead of opening http://localhost:8080/base_path/projects/, it opens http://localhost:8080/projects/
### Expected Behavior
1. Open Projects tab.
2. Right-click on a project > Open link in a new tab.
3. The new tab opens the project correctly with the BASE_PATH.
### Dependency-Track Frontend Version
4.13.6
### Browser
Google Chrome
### Browser Version
142.0.7444.175/176
### 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
Research direction
Reproduce the issue from the Projects tab using the right-click/open-in-new-tab steps, then trace how the project link is generated and how BASE_PATH is handled. Done means opening a project in a new tab retains BASE_PATH and no longer returns a 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100