Actions
Defect #1430
closedContract with highest "valid from" is returned as prime contract
Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Contractual relationship
Target version:
Start date:
12/20/2018
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Version: 9.3.1
When computing prime contract and no contract is set as "main position", then the contract with lowest "valid from" should be returned according to doc ( https://wiki.czechidm.com/devel/documentation/identities/dev/contractual-relationship#prime_contract_position).
But the contract with highest "valid from" is returned.
Affected functions:- bulk role assignment (when using "Assign to main contract only"]
- default role for synchronization is assigned only to prime contract
- groovy scripts that use identityContractService.getPrimeContract or getPrimeValidContract
Actions