diff --git a/backend/molgenis-emx2/src/main/java/org/molgenis/emx2/utils/TypeUtils.java b/backend/molgenis-emx2/src/main/java/org/molgenis/emx2/utils/TypeUtils.java index 6372456c4f..955f563cf8 100644 --- a/backend/molgenis-emx2/src/main/java/org/molgenis/emx2/utils/TypeUtils.java +++ b/backend/molgenis-emx2/src/main/java/org/molgenis/emx2/utils/TypeUtils.java @@ -403,7 +403,7 @@ public static Object getTypedValue(Object v, ColumnType columnType) { return switch (columnType.getBaseType()) { case UUID -> TypeUtils.toUuid(v); case UUID_ARRAY -> TypeUtils.toUuidArray(v); - case STRING, EMAIL, HYPERLINK -> TypeUtils.toString(v); + case STRING, EMAIL, HYPERLINK, FILE -> TypeUtils.toString(v); case STRING_ARRAY, EMAIL_ARRAY, HYPERLINK_ARRAY -> TypeUtils.toStringArray(v); case BOOL -> TypeUtils.toBool(v); case BOOL_ARRAY -> TypeUtils.toBoolArray(v);