Defect #2748
closedCanceling all running LRT starts with canceling it's own LRT
100%
Description
- open Task Scheduler and "All tasks" tab
- filter "Running" LRTs
- Click on checkbox to select all (in the table header) - don't check every LRT separately
- 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.
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
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?
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!
Updated by Radek Tomiška over 3 years ago
- Status changed from Resolved to Closed