Unable to upload manuscripts containing tif files
Expected behaviour
Docx file containing tif
and tiff
images should be converted and accessible in wax for editing.
Current behaviour
Docx field containing a tif
cannot be uploaded and displays the following error;
If a docx contains a tiff
file and not a tif
file, the upload successfully.
-
tif
example; tif_conversion_3.docx -
tiff
example; tif_conversion_2.docx
A tif
file can be uploaded to the Object Store and inserted in Wax without any issue. The issue appears to be in XSweet during docx conversation.
Steps to reproduce
- Create a docx and insert a
tif
image into the manuscript and save - Upload the manuscript in Kotahi
- See the error message (briefly) on the Dashboard and in the console
Possible solutions
- XSweet pipeline fix to be implemented?
- seems unrelated to this issue; https://gitlab.coko.foundation/kotahi/kotahi/-/blob/main/packages/client/app/components/component-submit/src/upload.js#L110