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);