Task #1968
open
Prevent to try assign duplicated automatic roles
Added by Radek Tomiška over 4 years ago.
Updated almost 4 years ago.
Description
Redesign tasks SelectCurrentContractSliceTaskExecutor and ProcessAllAutomaticRoleByAttributeTaskExecutor to be both synchronous or asynchronous. Both LRT cannot process one resource in the same time - this ticket will prevent to attempt create duplicate automatic roles.
- Related to Defect #1961: Occasional duplicated automatic role assignment added
The LRT ClearDirtyStateForContractSliceTaskExecutor should be also redesigned somehow, because it also creates asynchronous events which recalculate automatic roles by attribute. The question is, if this is correct - maybe the recalculation should be skipped in events, that are started from ClearDirtyStateForContractSliceTaskExecutor?
- Related to Defect #1840: Duplicities in processed automatic roles and processed items from LongRunningTask added
- Description updated (diff)
- Assignee changed from Ondřej Kopr to Radek Tomiška
- Related to Task #732: Recalculate automatic roles after move some nodes added
- Related to Defect #2305: Automatic role by tree structure: contract and position cannot assign the same automatic role added
Also available in: Atom
PDF