Project

General

Profile

Defect #3026

Updated by Roman Kučera almost 3 years ago

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.

Back