Actions
Defect #2186
closedIdentityRoleExpirationTaskExecutor repeated same sequence of identity roles
Start date:
04/03/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
LRT IdentityRoleExpirationTaskExecutor repeated same sub roles and never ends.
The reproduce of this issues is very randomly, because method IdmIdentityRoleService#findExpiredRoles calls IdmIdentityRoleRepository#findExpiredRoles without any sorting. When the first (or any another) page of identity roles contains only subroles the LRT never ends and still process this page.
Probably most of database version has different default sorting. But sulve this issues with add sorting isn't probably enough :(, maybe find without subroles.
Affected version: probably all from business roles
Files
Actions