Project

Profile

Help

Issue #407

closed

Needs better error handling when the specified relative-url is already used for another repo

Added by pthomas@redhat.com about 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.4.0
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

Needs better error handling when the specified relative-url is already used for another repo.

Version-Release number of selected component (if applicable):

[root@cloud-qe-9 ~]# rpm -qa pulp-server
pulp-server-2.4.0-0.6.alpha.fc20.noarch
[root@cloud-qe-9 ~]#
How reproducible:

Steps to Reproduce:
1. Create repo with --relative-url of another repo
2.
3.

Actual results:

[root@cloud-qe-9 ~]# pulp-admin rpm repo create --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/ --relative-url scientific
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.
Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1079511 +

Also available in: Atom PDF