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

@@ -229,7 +229,7 @@ public class Collection extends CacheableDSpaceObject implements DSpaceObjectLeg
* @throws SQLException if database error
*/
public void setLicense(Context context, String license) throws SQLException {
getCollectionService().setMetadataSingleValue(context, this, MD_LICENSE, Item.ANY, license);
getCollectionService().setMetadataSingleValue(context, this, MD_LICENSE, null, license);
}
/**