Project

General

Profile

Actions

Defect #1412

closed

Identity contract expiration lrt throws Exception

Added by Patrik Stloukal over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Roles
Target version:
Start date:
12/11/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Affected versions:
Owner:

Description

I reproduced this locally on new DB with IdM v 9.3.0
I made this steps:

- I create new user.
- and I create 2 roles - main, subordinate
- Then I create 'business role' - main as superior role and subordinate as subordinate role
- I change name of position of contract (that I can found it easier in DB)
- I add both roles to user
- user has 3 roles: main, subordinate and subordinate (the second through business role)
- in pgAdmin I set to user's contract valid till in past
- then I manually run IdentityContractExpirationTaskExecutor (to disable this user)
- IdentityContractExpirationTaskExecutor ends with EmptyResultDataAccessException

if IdentityContractExpirationTaskExecutor is started again it ends sucessfully (for this item), but with each EmptyResultDataAccessException lrt is stopped.

Actions

Also available in: Atom PDF