Bug #32690
closedCannot reupload package to repo after deleting it
Description
To reproduce:
1) Sync a repo
2) Navigate to Products > [Product Name] > Repositories > [Repo Name] > Packages
3) Delete a package
4) Navigate to Products > [Product Name] > Repositories > [Repo Name]
5) Manually upload the deleted package using the "Upload Package" box.
When following these steps using this repo (https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/) while deleting/reuploading the walrus-5.21-1.noarch.rpm package this error was produced in the terminal:
2021-06-01T13:22:00 [D|app|498d9702] With body: {"displayMessage":"Task 08bd8ac4-116a-4491-8d70-a4e668e7d883: Katello::Errors::Pulp3Error: {'non_field_errors': [ErrorDetail(string=\"Artifact with sha256 checksum of 'e837a635cc99f967a70f34b268baa52e0f412c1502e08e924ff5b09f1f9573f2' already exists.\", code='unique')]}","errors":["Task 08bd8ac4-116a-4491-8d70-a4e668e7d883: Katello::Errors::Pulp3Error: {'non_field_errors': [ErrorDetail(string=\"Artifact with sha256 checksum of 'e837a635cc99f967a70f34b268baa52e0f412c1502e08e924ff5b09f1f9573f2' already exists.\", code='unique')]}"]}
This error also showed as a pop-up box in the GUI.
Updated by Samir Jha almost 4 years ago
- Target version set to Katello 4.0.2
- Triaged changed from No to Yes
Updated by James Jeffers almost 4 years ago
- Target version changed from Katello 4.0.2 to Katello 4.0.3
Updated by James Jeffers over 3 years ago
- Target version changed from Katello 4.0.3 to Katello 4.0.4
Updated by James Jeffers over 3 years ago
- Target version changed from Katello 4.0.4 to Katello 4.3.0
Updated by Samir Jha over 3 years ago
- Status changed from New to Resolved
- Target version changed from Katello 4.3.0 to Katello Recycle Bin