Defect #1728
closed
Recalculation of automatic roles by LRT is not working
Added by Patrik Stloukal over 5 years ago.
Updated over 5 years ago.
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.
- Category changed from Long running task to Automatic roles
- Status changed from New to In Progress
- Related to Defect #1710: Pagination in automatic role by attribute skip contracts added
- Target version set to Pyrite (9.5.1.2)
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Patrik Stloukal
- % Done changed from 0 to 90
I did code review. Remove a pagination giving me good sense. Thanks for that.
- 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.
- Status changed from Resolved to Closed
Also available in: Atom
PDF