Project

Profile

Help

Issue #2943

closed

Cancelling a task group with no tasks throws a 404

Added by jsherril@redhat.com over 6 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
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:
Pulp 2
Sprint:
Quarter:

Description

If a task group such as applicability generation has no tasks, it throws an error. This is incredibly confusing to the point that i thought i was doing something wrong. A user would not expect that when given a task group id, canceling that task group would throw a 404.

To reproduce, generate applicability for a repository with no bound consumers, grab the task id, and attempt to cancel it.

Actions #1

Updated by dkliban@redhat.com over 6 years ago

  • Priority changed from Normal to Low
  • Triaged changed from No to Yes

Task groups are not stored in a collection of their own. Task groups only exist as a field in the TaskStatus collection. As a result a task group with 0 tasks associated with it is the same as a task group that does not exist. Fixing this would require adding a separate collection for tracking task groups. This collection would need to store a group id at minimum.

Actions #2

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter almost 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added
Actions #5

Updated by bmbouter almost 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF