Skip to content

Commit

Permalink
IQSS#9954 fix - Dataset status change with auto refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
haarli committed Sep 27, 2023
1 parent 40db39a commit b7c6593
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/edu/harvard/iq/dataverse/DatasetPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -2865,6 +2865,11 @@ public void sort() {
public String refresh() {
logger.fine("refreshing");

//TODO remove in 6.0 - fix for https://github.com/IQSS/dataverse/issues/9954
if(versionId == null && workingVersion != null) {
versionId = workingVersion.getId();
}

//dataset = datasetService.find(dataset.getId());
dataset = null;
workingVersion = null;
Expand Down

0 comments on commit b7c6593

Please sign in to comment.