diff --git a/ccm-core/src/main/java/org/libreccm/imexport/AbstractEntityImExporter.java b/ccm-core/src/main/java/org/libreccm/imexport/AbstractEntityImExporter.java index ea5a29be6..43e516875 100644 --- a/ccm-core/src/main/java/org/libreccm/imexport/AbstractEntityImExporter.java +++ b/ccm-core/src/main/java/org/libreccm/imexport/AbstractEntityImExporter.java @@ -161,8 +161,15 @@ public abstract class AbstractEntityImExporter { @Transactional(Transactional.TxType.REQUIRES_NEW) public void importEntity(final String data) throws ImportExpection { try { - final T importedEntity = objectMapper.readValue(data, - getEntityClass()); + final T importedEntity = objectMapper.readValue( + data, + getEntityClass() + ); + LOGGER.info( + "Importing entity identified by UUID {} of type {}...", + importedEntity.getUuid(), + getEntityClass().getName() + ); final Optional existingEntityResult = findExistingEntity( importedEntity.getUuid() ); @@ -268,7 +275,7 @@ public abstract class AbstractEntityImExporter { /** * Reloads the entity to export. Entities become detacted for several * reasons before they are passed to the null null null null null null null - * null null null null null null null null null {@link #exportEntity(org.libreccm.imexport.Exportable) method. The + * null null null null null null null null null null null {@link #exportEntity(org.libreccm.imexport.Exportable) method. The * implementation of this should reload the passed entity. * * @param entity The entity to reload.