DependencyTrack / DependencyTrack/dependency-track
PUT /v1/project is not idempotent
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior
The request will fail if you send it twice
```
409 - A project with the specified name already exists
```
### Steps to Reproduce
Send the same PUT v1/project twice
### Expected Behavior
> The PUT method is idempotent, meaning that multiple PUT requests with the same data will have the same effect as a single request
### Dependency-Track Version
4.13.0
### Dependency-Track Distribution
Container Image
### Database Server
N/A
### Database Server Version
_No response_
### Browser
N/A
### 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/dependency-track/issues) for whether this defect was already reported
Contributor guide
Assessment
This issue has not been assessed yet.