Project

General

Profile

Actions

Defect #3026

open

CzechIdMStatusNotificationTask contains duplicated values if user is created and enabled in same day

Added by Roman Kučera over 2 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
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 #1

Updated by Roman Kučera over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Alena Peterová over 2 years ago

Ad identity state: The change from VALID to NO_CONTRACT is displayed as white line. It should be red, because it's the similar situation to the change from VALID to LEFT.

Actions #3

Updated by Peter Štrunc about 2 years ago

  • Target version changed from 3.4.0 to 3.5.0
Actions #4

Updated by Roman Kučera almost 2 years ago

  • Target version changed from 3.5.0 to 3.6.0
Actions #5

Updated by Peter Štrunc almost 2 years ago

  • Target version changed from 3.6.0 to 3.7.0
Actions #6

Updated by Peter Štrunc about 1 year ago

  • Target version changed from 3.7.0 to 4.1.0
Actions #7

Updated by Peter Štrunc 11 months ago

  • Target version changed from 4.1.0 to 4.2.0
Actions #8

Updated by Peter Štrunc 9 months ago

  • Target version changed from 4.2.0 to 4.3.0
Actions

Also available in: Atom PDF