Setting an empty "owner" is allowed in the REST API #3476
Labels
area/rest-api
Beginner Friendly
Solving this issue can help people who are starting with the project learn
type/bug
Something isn't working
Description
When updating the owner of an artifact, we are allowing an empty string. That should not be a valid value and rejected by the server.
Registry
Version: 2.4.3
Persistence type: all
Steps to Reproduce
This should not be allowed - it should fail with some sort of 4xx error, perhaps a
400
. The error message should indicate that there is a missing parameter.The text was updated successfully, but these errors were encountered: