Issue #117
closedValidation message for docker repo create does not make sense
Description
Validation message should be clear when its failing on repo name.
[root@cloud-qe-17 docker]# rpm -qa pulp-server
pulp-server-2.6.0-0.5.beta.el7.noarch
[root@cloud-qe-17 docker]#
1. Create a docker repo wih the --repo-id with a capital letter
See the error message
[root@cloud-qe-17 docker]# pulp-admin docker repo create --repo-id Docker-test
The server indicated one or more values were incorrect. The server provided the
following error message:
Pulp exception occurred: PulpDataException
More information can be found in the client log file ~/.pulp/admin.log.
In rpm here is the message we get
root@cloud-qe-17 docker]# pulp-admin rpm repo create --repo-id Docker-test.test%
Validation failed for argument [--repo-id]: value must contain only letters,
numbers, underscores, periods and hyphens
Related issues
Updated by pthomas@redhat.com about 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by pthomas@redhat.com about 9 years ago
- Status changed from ASSIGNED to POST
Updated by pthomas@redhat.com about 9 years ago
- Status changed from POST to ASSIGNED
Updated by pthomas@redhat.com about 9 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
bmbouter)
Updated by skarmark@redhat.com about 9 years ago
- Status changed from NEW to 5
- Assignee set to amacdona@redhat.com
- Triaged changed from No to Yes
Updated by amacdona@redhat.com about 9 years ago
I believe that this issue was fixed by this PR. https://github.com/pulp/pulp/pull/1487
Updated by amacdona@redhat.com about 9 years ago
pulp_docker actually does create a helpful exception, but Pulp throws the message away. Closing and reopening as a pulp bug.
Updated by bmbouter about 9 years ago
- Is duplicate of Issue #683: Pulp throws away validation error information from distributors added
Updated by bmbouter about 9 years ago
- Status changed from 7 to CLOSED - DUPLICATE