Actions
Issue #3230
closedStory #3209: As a user, I have Repository Versions
Repository version REST API returns 200 instead of 404
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 31
Quarter:
Description
Need to add a check for existence of repository id.
[vagrant@pulp3 devel]$ http :8000/api/v3/repositories/04fa84f6-f748-4369-aec1-4378b43e1f42/
HTTP/1.0 404 Not Found
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Length: 23
Content-Type: application/json
Date: Wed, 20 Dec 2017 17:56:02 GMT
Server: WSGIServer/0.2 CPython/3.5.4
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"detail": "Not found."
}
[vagrant@pulp3 devel]$ http :8000/api/v3/repositories/04fa84f6-f748-4369-aec1-4378b43e1f42/versions/
HTTP/1.0 200 OK
Allow: GET, HEAD, OPTIONS
Content-Length: 42
Content-Type: application/json
Date: Wed, 20 Dec 2017 17:56:06 GMT
Server: WSGIServer/0.2 CPython/3.5.4
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"next": null,
"previous": null,
"results": []
}
Updated by dalley almost 7 years ago
- Sprint/Milestone set to 52
- Triaged changed from No to Yes
Updated by daviddavis almost 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by daviddavis almost 7 years ago
- Status changed from ASSIGNED to POST
Added by daviddavis almost 7 years ago
Added by daviddavis almost 7 years ago
Revision 3ab71497 | View on GitHub
Add a check to see if parent object exists for nested viewsets
Updated by daviddavis almost 7 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|3ab714970636133bc27151a49ef1fdd2c700a3b1.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Add a check to see if parent object exists for nested viewsets
fixes #3230 https://pulp.plan.io/issues/3230