Defect #1395
closedFix last expired contract by specific identity
100%
Description
Method IdmIdentityContractService#findLastExpiredContract filtering expired contract but for all identities not for specific identity.
Updated by Alena Peterová about 6 years 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.
Sorry, guys.
Updated by Ondřej Kopr about 6 years 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?
Updated by Radek Tomiška about 6 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 90 to 100
I did review and test, it works, thx!
Updated by Alena Peterová about 6 years ago
- Target version changed from Opal (9.4.0-rc.1) to Onyx (9.3.1)
The fix was cherry-picked to hotfix-9.3.1.