Skip to content

Commit 75d6e97

Browse files
authored
Merge pull request #11444 from GlobalDataverseCommunityConsortium/IQSS/11394-versionNote
IQSS/11394 version note bug fix
2 parents 441ee17 + 8fec402 commit 75d6e97

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### versionNote Bug fix
2+
3+
An issue causing more than one edit of a versionNote to fail, when done without a page refresh, has been fixed.

src/main/java/edu/harvard/iq/dataverse/DatasetPage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6803,10 +6803,10 @@ public boolean isDOI() {
68036803
return AbstractDOIProvider.DOI_PROTOCOL.equals(dataset.getGlobalId().getProtocol());
68046804
}
68056805

6806-
public void saveVersionNote() {
6806+
public String saveVersionNote() {
68076807
this.editMode=EditMode.VERSIONNOTE;
68086808
publishDialogVersionNote = workingVersion.getVersionNote();
6809-
save();
6809+
return save();
68106810
}
68116811
String publishDialogVersionNote = null;
68126812

0 commit comments

Comments
 (0)