Project

Profile

Help

Issue #3387

Improve error message when uploading a file already in Pulp3

Added by kersom over 3 years ago. Updated 6 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 88
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>

Associated revisions

Revision d5338184 View on GitHub
Added by daviddavis 7 months ago

Have a more descriptive artifact error message

fixes #3387

History

#1 Updated by dalley over 3 years ago

  • Triaged changed from No to Yes

#2 Updated by amacdona@redhat.com over 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 2 years ago

  • Tags deleted (Pulp 3)

#4 Updated by daviddavis 11 months ago

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

#5 Updated by daviddavis 10 months ago

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

#6 Updated by daviddavis 7 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#7 Updated by pulpbot 7 months ago

  • Status changed from ASSIGNED to POST

#8 Updated by daviddavis 7 months ago

  • Sprint set to Sprint 88

#9 Updated by daviddavis 7 months ago

  • Status changed from POST to MODIFIED

#10 Updated by ttereshc 6 months ago

  • Sprint/Milestone set to 3.10.0

#11 Updated by pulpbot 6 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF