Project

Profile

Help

Issue #3387

closed

Improve error message when uploading a file already in Pulp3

Added by kersom almost 7 years ago. Updated almost 4 years 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

Actions
Actions #1

Updated by dalley almost 7 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by amacdona@redhat.com about 6 years ago

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

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #4

Updated by daviddavis over 4 years ago

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

Updated by daviddavis about 4 years ago

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

Updated by daviddavis almost 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #7

Updated by pulpbot almost 4 years ago

  • Status changed from ASSIGNED to POST
Actions #8

Updated by daviddavis almost 4 years ago

  • Sprint set to Sprint 88

Added by daviddavis almost 4 years ago

Revision d5338184 | View on GitHub

Have a more descriptive artifact error message

fixes #3387

Actions #9

Updated by daviddavis almost 4 years ago

  • Status changed from POST to MODIFIED
Actions #10

Updated by ttereshc almost 4 years ago

  • Sprint/Milestone set to 3.10.0
Actions #11

Updated by pulpbot almost 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF