Skip to content

Commit

Permalink
#7446 bundle update remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed May 6, 2022
1 parent 86e16e6 commit 4cdc593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/harvard/iq/dataverse/DatasetPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -2816,9 +2816,9 @@ public String refresh() {
//SEK 12/20/2019 - since we are ingesting a file we know that there is a current draft version
lockedDueToIngestVar = null;
if (canViewUnpublishedDataset()) {
return "/dataset.xhtml?persistentId=" + dataset.getGlobalIdString() + "&showIngestSuccess=true&version=DRAFT&faces-redirect=true";
return "/dataset.xhtml?persistentId=" + dataset.getGlobalId().asString() + "&showIngestSuccess=true&version=DRAFT&faces-redirect=true";
} else {
return "/dataset.xhtml?persistentId=" + dataset.getGlobalIdString() + "&showIngestSuccess=true&faces-redirect=true";
return "/dataset.xhtml?persistentId=" + dataset.getGlobalId().asString() + "&showIngestSuccess=true&faces-redirect=true";
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/propertyFiles/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ dataset.message.createSuccess=This dataset has been created.
dataset.message.createSuccess.failedToSaveFiles=Partial Success: The dataset has been created. But the file(s) could not be saved. Please try uploading the file(s) again.
dataset.message.createSuccess.partialSuccessSavingFiles=Partial Success: The dataset has been created. But only {0} out of {1} files have been saved. Please try uploading the missing file(s) again.
dataset.message.linkSuccess= {0} has been successfully linked to {1}.
dataset.message.metadataSuccess=The metadata for this dataset has been updated.
dataset.message.metadataSuccess=The metadata for this dataset have been updated.
dataset.message.termsSuccess=The terms for this dataset have been updated.
dataset.message.filesSuccess=The files for this dataset have been updated.
dataset.message.addFiles.Failure=Failed to add files to the dataset. Please try uploading the file(s) again.
Expand Down

0 comments on commit 4cdc593

Please sign in to comment.