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

PDF preview not working #19010

Closed
plmorpheus opened this issue Sep 24, 2020 · 2 comments
Closed

PDF preview not working #19010

plmorpheus opened this issue Sep 24, 2020 · 2 comments

Comments

@plmorpheus
Copy link

Description:

None of preview of attached pfd are showing.

Steps to reproduce:

  1. Open desired channel
  2. Add pdf as attachment
  3. Click send

Expected behavior:

After upload the pdf's preview should appear.

Actual behavior:

Nothing happened, the file uploads but loading circle is infinitely appearing.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.6.2
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.16.1
  • MongoDB Version: 3.6.14

Client Setup Information

  • Desktop App or Browser Version: Chrome 85.0.4183.121 / Windows Desktop App ver. 2.17.9
  • Operating System: Windows

Additional context

In server logs there is no any errors.

Relevant logs:

Browser's console:
Uncaught (in promise) Error: /node_modules/pdfjs-dist/build/pdf.js:23 Uncaught (in promise) Error:
Removed API method: PDFDocumentLoadingTask.then, use the promise getter instead.
at r.then (/node_modules/pdfjs-dist/build/pdf.js:23)

@ankar84
Copy link

ankar84 commented Sep 24, 2020

Hello, @plmorpheus
That issue was fixed in 3.7.0-rc.0 via #18956
You need to upgrade to 3.7.0-rc.1 or wait until release 3.7.0.

@sampaiodiego
Copy link
Member

the fix is also on 3.6.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants