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 #1

Updated by Ondřej Kopr about 4 years ago

  • Assignee deleted (Radek Tomiška)
Actions #2

Updated by Radek Tomiška about 4 years ago

  • Assignee set to Radek Tomiška
  • Target version set to Rhyolite (9.7.17)
Actions #3

Updated by Radek Tomiška about 4 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Radek Tomiška about 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Target version changed from Rhyolite (9.7.17) to 10.2.0
  • % Done changed from 0 to 90

This bug was solved together with #2053. Task process direct roles only and task is stateful now.

Could you test this issue too, please?

Actions #5

Updated by Vít Švanda about 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review it and I wasn't able reproduction this problem now. Thanks for the fix.

Actions #6

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF