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

Image not displayed when clicking thumbnail preview #19563

Closed
bkraul opened this issue Nov 16, 2020 · 2 comments
Closed

Image not displayed when clicking thumbnail preview #19563

bkraul opened this issue Nov 16, 2020 · 2 comments

Comments

@bkraul
Copy link

bkraul commented Nov 16, 2020

Description:

When an image is attached to a message, clicking on the image thumbnail preview does not display the image. The console returns the following error:

d5ab7ee91991237ebf01e25454506aa351ab7b0d.js?meteor_js_resource=true:424 Uncaught (in promise) TypeError: a is not a constructor
    at n (d5ab7ee91991237ebf01e25454506aa351ab7b0d.js?meteor_js_resource=true:424)

Steps to reproduce:

  1. Update to latest develop image (3.9.0) (2ab1a10)
  2. Attempt to attach an image to a message.
  3. Once the image uploads, try clicking on it to view it.

Expected behavior:

Larger image should be displayed.

Actual behavior:

Nothing happens, and dev-tools console shows error described above.

Screen Capture:
6vr3JblrDb

Server Setup Information:

  • Version of Rocket.Chat Server: 3.9.0-develop (2ab1a10)
  • Operating System: Ubuntu 20.04.1 LTS (docker)
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Yes
  • NodeJS Version: v12.18.4
  • MongoDB Version: 4.0.21

Client Setup Information

  • Desktop App or Browser Version: 3.0.7 Desktop (Electron)
  • Operating System: Windows 10 Pro 20H2

Additional context

No additional context needed.

Relevant logs:

Log from local dev-tools.

d5ab7ee91991237ebf01e25454506aa351ab7b0d.js?meteor_js_resource=true:424 Uncaught (in promise) TypeError: a is not a constructor
    at n (d5ab7ee91991237ebf01e25454506aa351ab7b0d.js?meteor_js_resource=true:424)
@bkraul
Copy link
Author

bkraul commented Nov 17, 2020

Commit 48af214 does not seem to have this problem.

@bkraul
Copy link
Author

bkraul commented Nov 19, 2020

This appears corrected in subsequent develop tag 0332729 .

@bkraul bkraul closed this as completed Nov 19, 2020
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

1 participant