Project

General

Profile

Actions

Defect #1728

closed

Recalculation of automatic roles by LRT is not working

Added by Patrik Stloukal almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Automatic roles
Target version:
Start date:
06/24/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Issue is in hotfix 9.5.1.1
I debuged this situation and it is issue with paging.
Process get first contracts, it is 100 disabled contracts, so no role is added and it will not get next page, but again this same page and it continue with skipping disabled contracts.


Related issues

Related to IdStory Identity Manager - Defect #1710: Pagination in automatic role by attribute skip contractsClosedOndřej Kopr06/06/2019

Actions
Actions #1

Updated by Radek Tomiška almost 5 years ago

  • Category changed from Long running task to Automatic roles
  • Status changed from New to In Progress
Actions #2

Updated by Radek Tomiška almost 5 years ago

  • Related to Defect #1710: Pagination in automatic role by attribute skip contracts added
Actions #3

Updated by Radek Tomiška almost 5 years ago

  • Target version set to Pyrite (9.5.1.2)
Actions #4

Updated by Radek Tomiška almost 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Patrik Stloukal
  • % Done changed from 0 to 90

It's fixed - I removed pagination at all (id's are returned only):
https://github.com/bcvsolutions/CzechIdMng/commit/8af58f01575428c7a6d14d7875d0588180f9b8bb

Could you do a test, please?

Actions #5

Updated by Vít Švanda almost 5 years ago

I did code review. Remove a pagination giving me good sense. Thanks for that.

Actions #6

Updated by Patrik Stloukal almost 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Patrik Stloukal to Radek Tomiška
  • % Done changed from 90 to 100

I tested this fix on testing environment. I created new automatic role by attribute and test identity. I edit this identity on database (so no other process could remove att role) and start ProcessAllAutomaticRoleByAttributeTaskExecutor. I tried few changes, my new auto role was correctly added, removed and added. The others auto roles was changed with changing eav attribute.
I did this tests and it is working correctly.
Thank you for fixing this issue.

Actions #7

Updated by Radek Tomiška almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF