Closed mikethicke closed 1 week ago
The files have migrated properly and can be downloaded directly with api calls. The issue is that the links on the detail page are wrong. This is happening somewhere in the UI data handling, since the 'link' values coming from the back end are correct.
Fixed generated download links for files that don't have a supported previewer (including docx, doc, etc.)
Describe the bug
CORE deposits with docx or doc attachments failed to migrate. (Or I have been unable to find examples of successful migration.)
To Reproduce
docker exec -it 4028a614fad1 /bin/bash
cd /opt/invenio/var/import_data/import_files
ls *.doc
/ls *.docx
Eg.o_1a40ns08si5p1buq1koc1eai1rb67.doc.applied_blake_miltons_response_to_empire.doc
Example .docx : https://hcommons.org/deposits/item/mla:103/ / https://works.hcommons.org/records/ewxqw-1hm19
Deposits that seem not to have migrated at all:
Expected behavior
The work would be viewable and downloadable