Actions
Issue #6465
closedcancelling a 'complete' task returns strange result
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 72
Quarter:
Description
$ http PATCH :/pulp/api/v3/tasks/f0f054b1-3b50-4c9a-9908-90e8422ab8f8/ state=canceled HTTP/1.1 200 OK Allow: GET, PATCH, DELETE, HEAD, OPTIONS Connection: Keep-Alive Content-Length: 11 Content-Type: application/json Date: Tue, 07 Apr 2020 20:45:39 GMT Keep-Alive: timeout=5, max=10000 Server: gunicorn/20.0.4 Vary: Accept,Cookie X-Frame-Options: SAMEORIGIN { "name": "" }
I expect to get the task with a state set to 'complete'.
Actions
Fix response when trying to cancel a completed task
fixes #6465 https://pulp.plan.io/issues/6465