diff --git a/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java b/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java index cc31adbe89a..e6d7fb18092 100644 --- a/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java +++ b/src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java @@ -676,7 +676,7 @@ public void updateDefaultValuesFromTemplate(Template template) { public DatasetVersion cloneDatasetVersion(){ DatasetVersion dsv = new DatasetVersion(); - dsv.setVersionState(this.getPriorVersionState()); + dsv.setVersionState(this.getVersionState()); dsv.setFileMetadatas(new ArrayList<>()); if (this.getUNF() != null){