diff --git a/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java b/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java index 41df3b09500..31941d3c8c0 100644 --- a/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java +++ b/src/main/java/edu/harvard/iq/dataverse/api/imports/ImportDDIServiceBean.java @@ -1204,7 +1204,7 @@ private void processDataAccs(XMLStreamReader xmlr, DatasetVersionDTO dvDTO) thro if (lic != null) { LicenseDTO licenseDTO = new LicenseDTO(); licenseDTO.setName(license); - licenseDTO.setName(uri); + licenseDTO.setUri(uri); dvDTO.setLicense(licenseDTO); }