Project

Profile

Help

Issue #1675

closed

Task cancel does not returns PulpCodedException when task is in complete state

Added by sbhawsin about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
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:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:

Description

The docs string here: https://github.com/pulp/pulp/blob/master/server/pulp/server/async/tasks.py#L569 says that a PulpCodedException should be returned but the cancel tasks simply returns if that task is already in complete state. The doc string should be changed to reflect this

Also available in: Atom PDF