Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document PDF exports are empty when remote embedding is disabled #1472

Open
wginolas opened this issue Apr 17, 2024 · 0 comments
Open

Document PDF exports are empty when remote embedding is disabled #1472

wginolas opened this issue Apr 17, 2024 · 0 comments
Labels
Bug There is a problem in our source code Document Related to the Document app Fixed in staging This is live on staging branch Presentation Related to the Presentation app Spreadsheet Related to the Spreadsheet app

Comments

@wginolas
Copy link
Contributor

wginolas commented Apr 17, 2024

Description

Document PDF exports are empty when remote embedding is disabled

Steps to reproduce

  1. Use a CryptPad installation where remote embedding is disabled
  2. Open a document, sheet or presentation
  3. Export it as PDF
  4. The PDF is empty

Relevant logs

From the browser console:

...

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sandbox.freemium.cryptpad.fr/common/onlyoffice/dist/v7/fonts/DejaVuSansMono.ttf?ver=2024.3.0-1713276644784. (Reason: CORS header 'Access-Control-Allow-Origin' does not match 'https://sandbox.freemium.cryptpad.fr').

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sandbox.freemium.cryptpad.fr/common/onlyoffice/dist/v7/fonts/SymbolNeu.ttf?ver=2024.3.0-1713276644784. (Reason: CORS header 'Access-Control-Allow-Origin' does not match 'https://sandbox.freemium.cryptpad.fr').

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sandbox.freemium.cryptpad.fr/common/onlyoffice/dist/v7/fonts/DejaVuSansMono-Bold.ttf?ver=2024.3.0-1713276644784. (Reason: CORS header 'Access-Control-Allow-Origin' does not match 'https://sandbox.freemium.cryptpad.fr').

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://sandbox.freemium.cryptpad.fr/common/onlyoffice/dist/v7/fonts/opens___.ttf?ver=2024.3.0-1713276644784. (Reason: CORS header 'Access-Control-Allow-Origin' does not match 'https://sandbox.freemium.cryptpad.fr').

Expected behavior

Text is visible in the exported PDF

Which operating system are you using?

Linux/BSD/UNIX

What browsers are you seeing the problem on?

Mozilla Firefox

Extensions

.

Version

2024.3.0

@wginolas wginolas added Bug There is a problem in our source code Spreadsheet Related to the Spreadsheet app Document Related to the Document app Presentation Related to the Presentation app labels Apr 17, 2024
@yflory yflory added the Fixed in staging This is live on staging branch label Apr 17, 2024
@mathilde-cryptpad mathilde-cryptpad removed the Fixed in staging This is live on staging branch label May 23, 2024
@mathilde-cryptpad mathilde-cryptpad added the Fixed in staging This is live on staging branch label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug There is a problem in our source code Document Related to the Document app Fixed in staging This is live on staging branch Presentation Related to the Presentation app Spreadsheet Related to the Spreadsheet app
Projects
Status: Done
Development

No branches or pull requests

3 participants