Ignore profiles marked as "To Delete" if they do not exist
@@ -68,6 +68,10 @@ public class ProfileImportServiceImpl extends AbstractCustomServiceImpl implemen
profileToImport.getMergingProperty(), profileToImport.getProperties().get(profileToImport.getMergingProperty()).toString());
}
logger.debug("-------------------------------------");
+ if (!profileToImport.isProfileToDelete()) {
return persistenceService.save(existingProfile, true);
+ } else {
+ return false;
+ }
}
}
