Project

Profile

Help

Issue #3387

Improve error message when uploading a file already in Pulp3

Added by kersom over 2 years ago. Updated over 1 year ago.

Status:
NEW
Priority:
Low
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Add a more descriptive error message when uploading a file already in Pulp.

Right now, when using POST /api/v3/artifacts/, with a file that already exists in Pulp is sending back a HTTP 400, and the following message.

{'non_field_errors': ['sha512 checksum must be unique.']}

Related issues

Has duplicate Pulp - Story #3681: Have the artifact upload return the artifact href if the artifact already existsCLOSED - DUPLICATE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by dalley over 2 years ago

  • Triaged changed from No to Yes

#2 Updated by amacdona@redhat.com almost 2 years ago

  • Related to Story #3681: Have the artifact upload return the artifact href if the artifact already exists added

#3 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#4 Updated by daviddavis about 2 months ago

  • Has duplicate Story #3681: Have the artifact upload return the artifact href if the artifact already exists added

#5 Updated by daviddavis 18 days ago

  • Related to deleted (Story #3681: Have the artifact upload return the artifact href if the artifact already exists)

Please register to edit this issue

Also available in: Atom PDF