mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
leave the language to a null value, if so, while importing items
This commit is contained in:
@@ -1129,18 +1129,6 @@ public class ItemImport
|
||||
qualifier = null;
|
||||
}
|
||||
|
||||
// if language isn't set, use the system's default value
|
||||
if (StringUtils.isEmpty(language))
|
||||
{
|
||||
language = ConfigurationManager.getProperty("default.language");
|
||||
}
|
||||
|
||||
// a goofy default, but there it is
|
||||
if (language == null)
|
||||
{
|
||||
language = "en";
|
||||
}
|
||||
|
||||
if (!isTest)
|
||||
{
|
||||
i.addMetadata(schema, element, qualifier, language, value);
|
||||
|
Reference in New Issue
Block a user