Project

General

Profile

Actions

Defect #2903

closed

Event: Prevent to use original source from parent event (wrong original source is propaged in event and cannot be used)

Added by Radek Tomiška over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Event
Target version:
Start date:
08/09/2021
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Original source is propagated from parent event, which can have different content type. Prevent to propagate orginal source in event properties.

Exception:

java.lang.ClassCastException: class eu.bcvsolutions.idm.core.api.dto.IdmIdentityContractDto cannot be cast to class eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto (eu.bcvsolutions.idm.core.api.dto.IdmIdentityContractDto and eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @3c9bfddc)
    at eu.bcvsolutions.idm.hyundai.event.processor.identity.HyundaiIdentityGenerateEmailProcessor.process(HyundaiIdentityGenerateEmailProcessor.java:53)

Workaround: load original dto directly in processor ~ not use provided origianal source


Related issues

Related to IdStory Identity Manager - Task #468: Account management is synchronous with Role add operationClosedRadek Tomiška05/31/2017

Actions
Actions

Also available in: Atom PDF