Project

General

Profile

Actions

Defect #2748

closed

Canceling all running LRT starts with canceling it's own LRT

Added by Vladimír Kotýnek over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Radek Tomiška
Category:
Long running task
Target version:
Start date:
04/06/2021
Due date:
% Done:

100%

Estimated time:

Description

How to reproduce:
  1. open Task Scheduler and "All tasks" tab
  2. filter "Running" LRTs
  3. Click on checkbox to select all (in the table header) - don't check every LRT separately
  4. Push the "Cancel" button

IDM runs LRT for canceling tasks by filter. However the first task listed is the LongRunningTaskCancelBulkAction LRT created to cancel the other tasks.
The final result is that the LongRunningTaskCancelBulkAction "kills" itself right after it's own start and the other tasks remains running.

I've managed to reproduce this bug three times in row.

There is an easy workaround: select each LRT separately, don't use the "select all" checkbox.

Actions #1

Updated by Radek Tomiška over 3 years ago

  • Status changed from New to In Progress
  • Target version set to 11.0.0
  • Affected versions 10.2.0, 10.3.0, 10.3.1, 10.3.2, 10.3.3, 10.4.0, 10.4.1, 10.4.2, 10.4.3, 10.4.4, 10.5.0, 10.5.1, 10.4.5, 10.4.6, 10.4.7, 10.5.2, 10.5.3, 10.4.8, 10.6.0, 10.4.9, 10.5.4, 10.6.1, 10.6.2, 10.6.3, 10.6.4, 10.7.0, 10.7.1, 10.6.5, 10.7.2, 10.8.0, 10.8.1, 10.8.2 added
Actions #2

Updated by Radek Tomiška over 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Ondrej Husník
  • % Done changed from 0 to 90

I imporoved bulk actions for canceling (LongRunningTaskCancelBulkAction ) and deleting (LongRunningTaskDeleteBulkAction) long running tasks - self task is not processed now.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/3e557057d77c740b30f1bfe86b15bdd19ddef040

Could you provide me a feedback, please?

Actions #3

Updated by Ondrej Husník over 3 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondrej Husník to Radek Tomiška
  • % Done changed from 90 to 100

I tested it and it works well. Tasks selected by filter are correctly canceled. Good job!

Actions #4

Updated by Radek Tomiška over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF