Project

General

Profile

Actions

Defect #3115

closed

DisallowConcurrentExecution annotation ignores tasks in state Waiting

Added by Tomáš Doischer almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Category:
Scheduler
Target version:
Start date:
05/04/2022
Due date:
% Done:

100%

Estimated time:

Description

The issue is caused by a simple filter condition in AbstractLongRunningTaskExecutor#208 and AbstractLongRunningTaskExecutor#243.

This was introduced in #1555 and it is likely needed for the force role feature.

It can lead to some issues when the same task is processed multiple times. This should, however, not be a major problem.


Related issues

Related to IdStory Identity Manager - Task #1555: Force delete for rolesClosedRadek Tomiška03/15/2019

Actions
Actions #1

Updated by Tomáš Doischer almost 2 years ago

  • Related to Task #1555: Force delete for roles added
Actions #2

Updated by Roman Kučera almost 2 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Roman Kučera to Tomáš Doischer
  • % Done changed from 0 to 80

Implemented https://github.com/bcvsolutions/CzechIdMng/pull/234
I tested force delete of roles, it works the same way as before.
Also tested removing of auto role based on tree structure (same role multiple times, before previous task end), everything ok.

@doischert can you make a review please?

Actions #3

Updated by Tomáš Doischer over 1 year ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Tomáš Doischer to Roman Kučera
  • % Done changed from 80 to 100

LGTM, merged to develop.

Actions #4

Updated by Tomáš Doischer about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF