Skip to content

UFAL/Cannot download and preview files after migration #453

@milanmajchrak

Description

@milanmajchrak

Problem description

Downloading of the bitstream thrown a RuntimeException because bitstream file has not extensions e.g., zip, pdf,.. what is not a true.
Preview - generating of preview content cannot be processed because the bitstream extensions are empty.

That means both errors are because of the same reason.
The bitstream format is not properly mapped to the bitstream during migration because the bitstream_format_id is different in the CLARIN-DSpace5 and CLARIN-DSpace7.
Solution could be to find bitstream format by mimetype instead of its ID

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions