Actions
Defect #2840
closedCannot view entity events after deleting an identity
Start date:
05/27/2021
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Version 11.0
- Delete an identity which has some account on the target system.
- Go to Audit -> Entity Events
- Empty page is displayed, developer console says "TypeError: e is undefined"
Only way to display the tab again was to remove the entity event from the database.
delete from idm_entity_event where parent_event_type='DELETE' and created='2021-05-27 16:56:54.889812'
After deleting it, events look like this:
This was the result_cause and result_code of the event
"eu.bcvsolutions.idm.core.api.exception.EventContentDeletedException: Content for event [30029d73-1703-4e29-9626-cb95cfccf13d] type [NOTIFY] for owner [2ae8e290-b897-11eb-bfab-db1f46e27376] on instance [idm-primary] was deleted. Event cannot be executed and will be canceled. at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.toEvent(DefaultEntityEventManager.java:827) at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager$$FastClassBySpringCGLIB$$1694e58f.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager$$EnhancerBySpringCGLIB$$542fb6c4.toEvent(<generated>) at eu.bcvsolutions.idm.core.model.event.processor.event.EntityEventExecuteProcessor.process(EntityEventExecuteProcessor.java:50) at eu.bcvsolutions.idm.core.api.event.AbstractEntityEventProcessor.onApplicationEvent(AbstractEntityEventProcessor.java:239) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:403) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:373) at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.process(DefaultEntityEventManager.java:252) at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager.process(DefaultEntityEventManager.java:179) at eu.bcvsolutions.idm.core.model.service.impl.DefaultEntityEventManager$2.run(DefaultEntityEventManager.java:654) at eu.bcvsolutions.idm.core.config.DelegatingTransactionContextRunnable.run(DelegatingTransactionContextRunnable.java:39) at org.springframework.security.concurrent.DelegatingSecurityContextRunnable.run(DelegatingSecurityContextRunnable.java:84) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) ";"EVENT_CONTENT_DELETED"
Files
Related issues
Actions