Somehow, the nations db (ms access) seems to store binary data (files) in an array, that is handled as "Fields" in the siard-api.
This lead to ClassCastException when detecting the mime type.
Mime Type detections now works for both: Cells and Fields.
But!
Binary data in fields cannot be opened from the SIARD Suite and the mime type (while it is present in the archive) is not shown in the columns meta data!
We can think of 3 possible reasons:
MS Access stores binary data differently than other databases, thats why there seems to be an array present in the cell
This is a special case in the nations db
There is a bug in the SIARD Suite that resolves the columns content as an array
This PR fixes the class cast exception when access databases with blob columns are archived
Somehow, the nations db (ms access) seems to store binary data (files) in an array, that is handled as "Fields" in the siard-api.
This lead to ClassCastException when detecting the mime type.
Mime Type detections now works for both: Cells and Fields.
But!
Binary data in fields cannot be opened from the SIARD Suite and the mime type (while it is present in the archive) is not shown in the columns meta data!
We can think of 3 possible reasons:
This PR fixes the class cast exception when access databases with blob columns are archived