@ -367,15 +369,15 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
}else{
oDatabaseDocument.rollback();
}
logger.info("{} with UUID {} successfully added to Context with UUID {}",typeName,uuid,contextUUID);
logger.info("{} with UUID {} successfully added to Context with UUID {} (i.e. {})",typeName,uuid,contextUUID,contextFullName);
}catch(ResourceRegistryExceptione){
logger.error("Unable to add {} with UUID {} to Context with UUID {} - Reason is {}",typeName,uuid,contextUUID,e.getMessage());
logger.error("Unable to add {} with UUID {} to Context with UUID {} (i.e. {}) - Reason is {}",typeName,uuid,contextUUID,contextFullName,e.getMessage());
if(oDatabaseDocument!=null){
oDatabaseDocument.rollback();
}
throwe;
}catch(Exceptione){
logger.error("Unable to add {} with UUID {} to Context with UUID {}",typeName,uuid,contextUUID,e);
logger.error("Unable to add {} with UUID {} to Context with UUID {} (i.e. {})",typeName,uuid,contextUUID,contextFullName,e);
logger.info("Contexts of {} with UUID {} and Id {} are {}",Dataset.NAME,r1.getHeader().getUUID(),((IdentifierFacet)r1.getIdentificationFacets().get(0)).getValue(),contextsR1Fullname);
logger.info("Contexts of {} with UUID {} and Id {} are {}",Dataset.NAME,r2.getHeader().getUUID(),((IdentifierFacet)r2.getIdentificationFacets().get(0)).getValue(),contextsR2Fullname);
logger.info("Contexts of {} with UUID {} and Id {} are {}",Dataset.NAME,r3.getHeader().getUUID(),((IdentifierFacet)r3.getIdentificationFacets().get(0)).getValue(),contextsR3Fullname);