116542: fix issues with CSV importing and the Any language being set on metadata values

This commit is contained in:
Jens Vannerum
2024-07-22 15:08:59 +02:00
parent 374c93a5da
commit e03c402a9d
12 changed files with 118 additions and 72 deletions

View File

@@ -802,7 +802,7 @@ public class StructBuilder {
// default the short description to the empty string
collectionService.setMetadataSingleValue(context, collection,
MD_SHORT_DESCRIPTION, Item.ANY, " ");
MD_SHORT_DESCRIPTION, null, " ");
// import the rest of the metadata
for (Map.Entry<String, MetadataFieldName> entry : collectionMap.entrySet()) {