Project

Profile

Help

Story #2984

closed

As an API user, I get user friendly feedback when I use an invalid value

Added by daviddavis almost 7 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 27
Quarter:

Description

There are several places in Pulp 3 where we ought to be using validation but are not. Here are a few examples with reproducers:

https://pulp.plan.io/issues/2974
https://pulp.plan.io/issues/2975
https://pulp.plan.io/issues/2976

There may be more issues too. Instead of opening individual bugs/tasks, this story is go through the API and add validation for any existing fields that need it.


Related issues

Related to Pulp - Issue #2976: 500 error when I try to create a username with more than 150 charsCLOSED - DUPLICATEActions
Has duplicate Pulp - Issue #2975: Username field doesn't validate charactersCLOSED - DUPLICATEActions
Has duplicate Pulp - Issue #2974: Error when attempting to create two repos with the same nameCLOSED - DUPLICATEActions

Also available in: Atom PDF