Fix last expired contract by specific identity
Method IdmIdentityContractService#findLastExpiredContract filtering expired contract but for all identities not for specific identity.
#1 Updated by Alena Peterová 5 months ago
Effect: Synchronization of protection mode (#1225) in the mode "Link protected" would compute badly the account protection end for identities, that are inactive. It will use the date of the last expired contract in the whole IdM, not of the contract of that inactive identity. Also it would be slow.
#2 Updated by Ondřej Kopr 5 months ago
- Status changed from New to Needs feedback
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 0 to 90
I add new method into repository (backward compatibility) and change behavior in method IdmIdentityContractService#findLastExpiredContract. Test is included.
Coomit: https://github.com/bcvsolutions/CzechIdMng/commit/791c40e151a7ed0a7731b759e54be6e3336fd2ed (branch develop)
Please Radek could you make a review?