Skip to content

Commit

Permalink
rest: comment out setting of license
Browse files Browse the repository at this point in the history
  • Loading branch information
SotosTsepe committed Jan 23, 2024
1 parent dc32585 commit e7b67d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit e7b67d6

Please sign in to comment.