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