Defect #1728
closedRecalculation of automatic roles by LRT is not working
100%
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
Updated by Radek Tomiška over 5 years ago
- Category changed from Long running task to Automatic roles
- Status changed from New to In Progress
Updated by Radek Tomiška over 5 years ago
- Related to Defect #1710: Pagination in automatic role by attribute skip contracts added
Updated by Radek Tomiška over 5 years ago
- Target version set to Pyrite (9.5.1.2)
Updated by Radek Tomiška over 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?
Updated by Vít Švanda over 5 years ago
I did code review. Remove a pagination giving me good sense. Thanks for that.
Updated by Patrik Stloukal over 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.
Updated by Radek Tomiška over 5 years ago
- Status changed from Resolved to Closed