Actions
Defect #2122
closedNotification configuration can't be displayed after deleting a template which uses some notification configuration (missing integirity)
Start date:
03/17/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
Tested on version 10.2.0-SNAPSHOT
Steps to reproduce:- create an template
- create an notification configuration uses this template
- remove the template.
- try to display Notification -> Configuration:
Log:
org.springframework.orm.jpa.JpaObjectRetrievalFailureException: Unable to find eu.bcvsolutions.idm.core.notification.entity.IdmNotificationTemplate with id 7b3cdc7d-d705-4d88-9fe6-727ad5be3c8c; nested exception is javax.persistence.EntityNotFoundException: Unable to find eu.bcvsolutions.idm.core.notification.entity.IdmNotificationTemplate with id 7b3cdc7d-d705-4d88-9fe6-727ad5be3c8c at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:378) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:255) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:527) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61)
Actions