diff --git a/Kitodo/src/main/java/org/kitodo/production/migration/NewspaperProcessesMigrator.java b/Kitodo/src/main/java/org/kitodo/production/migration/NewspaperProcessesMigrator.java
index 87401087400..192f28d8658 100644
--- a/Kitodo/src/main/java/org/kitodo/production/migration/NewspaperProcessesMigrator.java
+++ b/Kitodo/src/main/java/org/kitodo/production/migration/NewspaperProcessesMigrator.java
@@ -384,9 +384,8 @@ private String createLinkStructureAndCopyDates(Process process, URI yearMetadata
year = MetadataEditor.getMetadataValue(yearFileYearIncludedStructuralElement, FIELD_TITLE);
}
IncludedStructuralElement processYearIncludedStructuralElement = years.computeIfAbsent(year, theYear -> {
- IncludedStructuralElement yearIncludedStructuralElement = new IncludedStructuralElement();
- MetadataEditor.writeMetadataEntry(yearIncludedStructuralElement, yearSimpleMetadataView, theYear);
- return yearIncludedStructuralElement;
+ MetadataEditor.writeMetadataEntry(yearFileYearIncludedStructuralElement, yearSimpleMetadataView, theYear);
+ return yearFileYearIncludedStructuralElement;
});
createLinkStructureAndCopyMonths(process, metaFileYearIncludedStructuralElement,
diff --git a/Kitodo/src/test/resources/xslt/MetsModsGoobi_to_MetsKitodo.xsl b/Kitodo/src/test/resources/xslt/MetsModsGoobi_to_MetsKitodo.xsl
index eb51f653a2a..5b94dbf89ce 100644
--- a/Kitodo/src/test/resources/xslt/MetsModsGoobi_to_MetsKitodo.xsl
+++ b/Kitodo/src/test/resources/xslt/MetsModsGoobi_to_MetsKitodo.xsl
@@ -84,6 +84,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+