Project

General

Profile

Defect #2903

Updated by Radek Tomiška over 3 years ago

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

 Exception: 
 <pre> 
 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) 
 </pre> 

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

Back