Project

General

Profile

Actions

Defect #2186

closed

IdentityRoleExpirationTaskExecutor repeated same sequence of identity roles

Added by Ondřej Kopr about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Roles
Target version:
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

cycles.png (64.3 KB) cycles.png Ondřej Kopr, 04/03/2020 10:20 AM
Actions

Also available in: Atom PDF