#1050 API call cancelTaskChildren already canceled subtasks should return error
Closed: Dropped by tkopecek. Opened by jcupova.

Steps to Reproduce:

run cancelTaskChildren(task_id)
run cancelTaskChildren(task_id)

Actual result:

Without error message.

Expected result:

Should be returning an error message that subtasks of task ID are already canceled.


I would leave behaviour as it is. call results in cancelled tasks in either case, so no problem with not raising error here.

Metadata Update from @tkopecek:
- Issue tagged with: discussion

Yes, I know that result is same for canceled tasks. It was the only idea that we can return the error, but yes, the result of this task is the same for the user. If @mfilip and @tkopecek are ok with this, we can close this task and also #1049 and #1140 .

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.19

I'll close these issues. It seems pretty ok to us, that cancelling shouldn't raise any errors. You just need those tasks cancelled and don't care, if you did it, or someone did it earlier.

Metadata Update from @tkopecek:
- Issue close_status updated to: Dropped
- Issue status updated to: Closed (was: Open)

Metadata Update from @tkopecek:
- Issue set to the milestone: None (was: 1.19)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1050

Please continue any further discussion there.

Metadata