Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Actions
Issue #6284
closedAn internal server error is raised when trying to modify a non-existing repository
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 68
Quarter:
Description
When I try to modify a non-existing repository with random content, an internal server error is raised:
pulpcore.app.models.repository.Repository.DoesNotExist: Repository matching query does not exist.
The following call triggered this error and the same behavior was also observed for pulp_file:
http POST :24817/pulp/api/v3/repositories/rpm/rpm/3d5b865a-069c-4455-8226-564d2040aee1/modify/ add_content_units:="[\"\"]"
Pulp should rather return an HTTP 404 response saying something like "The requested resource was not found in this server".
Updated by fao89 over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 68
Updated by daviddavis over 4 years ago
- Status changed from NEW to POST
- Assignee set to daviddavis
Added by daviddavis over 4 years ago
Updated by daviddavis over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|fe3955e08ae7daa61c398b40edafae0e317494c6.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to 3.3.0
Actions
Fixed 500 error on repository modify
fixes #6284 https://pulp.plan.io/issues/6284