We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4e043 commit 2a939ffCopy full SHA for 2a939ff
src/main/java/edu/harvard/iq/dataverse/DatasetPage.java
@@ -3981,8 +3981,7 @@ public String save() {
3981
dataset.setOwner(ownerId != null ? dataverseService.find(ownerId) : null);
3982
}
3983
// Validate
3984
- Set<ConstraintViolation> constraintViolations = workingVersion.validate();
3985
- if (!constraintViolations.isEmpty()) {
+ if (!workingVersion.isValid()) {
3986
FacesContext.getCurrentInstance().validationFailed();
3987
return "";
3988
0 commit comments