Defect #1614
closedEntity event queue - prevent to create event for identity role without business role configuration
100%
Description
Prevent to create entity events in queue for all identity roles in one request, if no business roles are configured - just one event for the whole request will be published at the end.
@affected version 9.5.2
Related issues
Updated by Radek Tomiška over 5 years ago
- Description updated (diff)
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
I tried to remove event for business role recalculation, if assigned role hasn't business role configured. But when this processor was not called, then whole request was complemented by the first assigned role concept and other concept was processed outside the request => provisioning was called.
I fixed it by using parts of code from 9.6.0 (skip propagate event property) and handle skip notify event property for the role request event manually, if no business role is specified.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/7a5cd9489b06c140b49046d4832f3c4f909d61a1
Note: this changes are just for 9.5.x version. In the version 9.6.0 is the whole request executed asynchronously and business roles are recalculated synchronously (this issue doesn't occurs) => should be not merged into develop.
Updated by Radek Tomiška over 5 years ago
- Related to Task #1607: Provisioning with merge attributes - optimalization added
Updated by Vít Švanda over 5 years ago
- Status changed from Needs feedback to Resolved
I reviewed it. Your fix looks logical.
Updated by Radek Tomiška over 5 years ago
- Status changed from Resolved to Closed
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
Updated by Radek Tomiška over 5 years ago
- Related to Defect #1625: Entity event queue - parent event is deleted before account management is executed added