Project

General

Profile

Actions

Defect #1727

closed

Failed event during manual contract end with automatic roles

Added by Alena Peterová almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Automatic roles
Target version:
Start date:
06/21/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Tested on 9.6.4 and 9.7.0-SNAPSHOT
Situation:
  • identity has automatic role by attribute or by organization
  • the contract is manually ended (by setting valid to)
  • IdmIdentityContract UPDATE event ends with the attached exception

The role is removed, so it seems that only problem on 9.7.0 is the error in the event.

But on version 9.6.4, when it is automatic role by attribute, there is no failed event, but Audit - Requests for roles - can't be displayed with the exception:

org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find eu.bcvsolutions.idm.core.model.entity.IdmIdentityRole with id ad8b8a02-8abe-4a60-94c1-61ce22a5161a; nested exception is javax.persistence.EntityNotFoundException: Unable to find eu.bcvsolutions.idm.core.model.entity.IdmIdentityRole with id ad8b8a02-8abe-4a60-94c1-61ce22a5161a

So on 9.6.4 the problem probably affects data consistency.

(I tested only manual contract end, I didn't test contract end by HR process.)


Files


Related issues

Related to IdStory Identity Manager - Task #1700: Optimisation of manual contract endClosedRadek Tomiška05/29/2019

Actions
Actions

Also available in: Atom PDF