From e7b67d65f114d76f133f185ec64368b8ed9ce566 Mon Sep 17 00:00:00 2001 From: Sotiris Tsepelakis Date: Tue, 23 Jan 2024 17:21:30 +0100 Subject: [PATCH] rest: comment out setting of license --- .../tuwien/damap/rest/invenioDamap/InvenioDAMAPResource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/at/ac/tuwien/damap/rest/invenioDamap/InvenioDAMAPResource.java b/src/main/java/at/ac/tuwien/damap/rest/invenioDamap/InvenioDAMAPResource.java index 790349a9..45467d81 100644 --- a/src/main/java/at/ac/tuwien/damap/rest/invenioDamap/InvenioDAMAPResource.java +++ b/src/main/java/at/ac/tuwien/damap/rest/invenioDamap/InvenioDAMAPResource.java @@ -156,7 +156,7 @@ private DatasetDO mapMaDMPDatasetToDatasetDO(DmpDO dmpDO, datasetDO.setDeletionPerson(null); datasetDO.setDescription(madmpDataset.getDescription()); datasetDO.setLegalRestrictions(null); - datasetDO.setLicense(""); + datasetDO.setLicense(null); datasetDO.setSize(0L); // General TODO: some attributes have to be set from distribution if (madmpDataset.getDistribution() != null) { @@ -172,7 +172,7 @@ private DatasetDO mapMaDMPDatasetToDatasetDO(DmpDO dmpDO, .map(l -> l.getLicenseRef().toString()).collect(Collectors.joining(", "))); datasetDO.setSize(datasetDO.getSize() + d.getByteSize()); }); - datasetDO.setLicense(licenseBuilder.toString()); + // datasetDO.setLicense(licenseBuilder.toString()); } datasetDO.setOtherProjectMembersAccess(EAccessRight.READ);