Skip to content

Commit

Permalink
versionstate shouldn't be null
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Dec 12, 2024
1 parent b169961 commit 1dda2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/DatasetVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 1dda2e6

Please sign in to comment.