Skip to content

Commit

Permalink
Merge pull request 'Release v24.12' (#13) from release_24.12 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominick Leppich committed Jan 13, 2025
2 parents b60967c + bfc220d commit 1e31a4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion module-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.goobi.workflow.plugin</groupId>
<artifactId>plugin-step-urn</artifactId>
<version>24.11</version>
<version>24.12</version>
</parent>
<artifactId>plugin-step-urn-base</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ private boolean replaceUrlsOrAddUrn(DocStruct logical) throws JsonSyntaxExceptio
if (!replaceSuccessful) {
log("URN: " + metsUrn + " could not be updated", LogType.ERROR);
} else {
log("URN: " + metsUrn + " was updated successfully", LogType.INFO);
log("URN: " + metsUrn + " was updated successfully", LogType.DEBUG);
}
} else {
replaceSuccessful = true;
Expand Down Expand Up @@ -382,11 +382,6 @@ private boolean replaceUrlsOrAddUrn(DocStruct logical) throws JsonSyntaxExceptio
replaceSuccessful = false;
}
}

if (replaceSuccessful) {
step.getProzess().writeMetadataFile(ff);
}

return replaceSuccessful;
}

Expand All @@ -410,6 +405,7 @@ public PluginReturnValue run() {
urls.add(replacer.replace(publicationUrl));

setUrn(ds);
step.getProzess().writeMetadataFile(ff);

} catch (ReadException | JsonException | PreferencesException | WriteException | IOException | IllegalArgumentException | InterruptedException
| SwapException | DAOException | MetadataTypeNotAllowedException | SQLException | JsonSyntaxException | UrnDatabaseException e) {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.goobi.workflow</groupId>
<artifactId>workflow-base</artifactId>
<version>24.11</version>
<version>24.12</version>
<relativePath />
</parent>
<groupId>io.goobi.workflow.plugin</groupId>
Expand Down

0 comments on commit 1e31a4d

Please sign in to comment.