Skip to content

Commit 7e732a0

Browse files
committed
handle Local archiver zip name change
1 parent 98b2e97 commit 7e732a0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

doc/release-notes/12167-ore-bag-archiving-changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,7 @@ The following JVM options (MicroProfile Config Settings) control bag size and ho
4848

4949
- `dataverse.bagit.archive-on-version-update` (Default: `false`)
5050
Indicates whether archival bag creation should be triggered (if configured) when a version is updated and was already successfully archived, i.e., via the Update-Current-Version publication option. Setting the flag to `true` only works if the archiver being used supports deleting existing archival bags.
51+
52+
###Backward Incompatibility
53+
54+
The name of archival zipped bag produced by the LocalSubmitToArchiveCommand archiver now has a '.' character before the version number mirror the name used by other archivers, e.g. the name will be like doi-10-5072-fk2-fosg5q.v1.0.zip rather than doi-10-5072-fk2-fosg5qv1.0.zip

src/test/java/edu/harvard/iq/dataverse/api/BagIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void testBagItExport() throws IOException {
8787
.replace('.', '-').toLowerCase();
8888
// spacename: doi-10-5072-fk2-fosg5q
8989

90-
String pathToZip = bagitExportDir + "/" + spaceName + "v1.0" + ".zip";
90+
String pathToZip = bagitExportDir + "/" + spaceName + ".v1.0" + ".zip";
9191

9292
try {
9393
// give the bag time to generate

0 commit comments

Comments
 (0)