Actions
Defect #3026
openCzechIdMStatusNotificationTask contains duplicated values if user is created and enabled in same day
Start date:
01/04/2022
Due date:
% Done:
0%
Estimated time:
Affected versions:
Owner:
Description
If you have situation that between 2 runs of CzechIdMStatusNotificationTask user is created and enabled, then this user is 2 times in report once without state and once with state.
The issue is in method getContractsStatus https://github.com/bcvsolutions/czechidm-extras/blob/develop/Realization/backend/idm-extras/src/main/java/eu/bcvsolutions/idm/extras/scheduler/task/impl/CzechIdMStatusNotificationTask.java#L499-L518
As a fix there has to be implemented some type of aggregation by user and select only the most recent IdmAuditDto.
Also it would be nice to have alphabetical order by username and support more identity state, because this empty field is confusing.
Actions