Skip to content

IQSS/10680-Bagit warning fix #11416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions doc/release-notes/10680-Bagit-Change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Archival Bag Configuration Change

Archival Bags now use the JVM option `dataverse.bagit.sourceorg.name` in generating the bag-info.txt file's "Internal-Sender-Identifier" (in addition to its use for "Source-Organization") rather than pulling the value from a deprecated `bagit.SourceOrganization` entry in Bundle.properties ("Internal-Sender-Identifier" is generated by appending " Catalog" in both cases). Sites using archival bags would not see a change if these settings were already using the same value. See #10680 and #11416.

## Upgrade Instructions

If you are using archival bags, be sure that the `dataverse.bagit.sourceorg.name` JVM option is set.


Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ private String generateInfoFile() {
info.append(CRLF);

info.append("Internal-Sender-Identifier: ");
String catalog = BundleUtil.getStringFromBundle("bagit.sourceOrganization") + " Catalog";
String catalog = orgName + " Catalog";
if (aggregation.has(JsonLDTerm.schemaOrg("includedInDataCatalog").getLabel())) {
catalog = aggregation.get(JsonLDTerm.schemaOrg("includedInDataCatalog").getLabel()).getAsString();
}
Expand Down