Actions
Issue #4700
closedvalidation error for 'base_path' of Distribution is not clear
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
When creating a Distribution with a 'base_path' that is not a relative path, the user receives the following error:
{
"non_field_errors": [
"Relative path cannot begin or end with slashes."
]
}
The error message should contain the field name that failed validation like this:
{
"base_path": [
"Relative path cannot begin or end with slashes."
]
}
Updated by dkliban@redhat.com about 4 years ago
I tried fixing, but my fix didn't seem correct based on the unit test failures I saw. It seems like the field is getting set, but not being exposed.
Updated by amacdona@redhat.com about 4 years ago
- Triaged changed from No to Yes
- Tags Pulp 3 added
Updated by dkliban@redhat.com over 2 years ago
- Status changed from NEW to CLOSED - WONTFIX
Actions