Hello Johannes,

if the problem is related to showing PDF in browser, there is a known issue (present in DSpace 7 and newer versions as well) related to content-length calculation that renders files with coverpages unreadable in browsers, even though downloading the file as attachment should work.

More details on the issue
https://github.com/DSpace/DSpace/issues/9665

And fixes for DSpace 7.x and 8.x
https://github.com/DSpace/DSpace/pull/9895
https://github.com/DSpace/DSpace/pull/10354


Best regards,
Miika Nurminen

On 20.2.2025 17:49, schul...@effective-webwork.de wrote:
P.S. I just tried enabling the on the fly Citation Cover Page generation in a DSpace 8 installation, and the same error occurs.

schu...@effective-webwork.de schrieb am Donnerstag, 20. Februar 2025 um 09:29:13 UTC+1:

    Hello,

    we recently did an update for a project from a 7.6.1 based DSpace to
    version 7.6.3. Everything seems to work fine, except for the
    Citation Cover Page generation. We use the variant where the
    Citation Cover Pages are generated on the fly during download.
    Instead of downloading or displaying the PDF files, the browser (or
    tools like Postman) just show "Failed to load PDF file".

    There are no errors in the logs and debugging leads to no exceptions.

    Is this a known problem or does anyone know a fix?

    Regards
    Johannes

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx <https:// www.lyrasis.org/about/Pages/Code-of-Conduct.aspx>
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com <mailto:dspace- tech+unsubscr...@googlegroups.com>. To view this discussion visit https://groups.google.com/d/msgid/dspace- tech/00eb0c56-feb7-40ce-abcc-f48ac7bbd878n%40googlegroups.com <https:// groups.google.com/d/msgid/dspace-tech/00eb0c56-feb7-40ce-abcc- f48ac7bbd878n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/be032654-bd04-407a-af4d-b948354531ec%40gmail.com.

Reply via email to