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 viewer shows wrong picture after clicking preview thumbnail #34103

Open
Gummikavalier opened this issue Dec 3, 2024 · 4 comments
Open

Comments

@Gummikavalier
Copy link

Gummikavalier commented Dec 3, 2024

Description:

This is a stub of issue as we don't know how to reproduce the issue yet.

When preview image is opened the RC image viewer shows wrong picture from that same channel.

This has happened to some images only in threads so far.

Steps to reproduce:

  1. On a channel with lots of pictures create two threads
  2. Upload image into the first thread
  3. Upload image into the second thread
  4. (not known)
  5. Open up the image in the second thread by clicking it with mouse

Expected behavior:

Correct image from the second thread is shown in the opened up image viewer.

Actual behavior:

The image viewer shows the picture from the first thread.

Server Setup Information:

  • Version of Rocket.Chat Server: 7.0.0
  • License Type: Enterprise
  • Number of Users: 500+
  • Operating System: RHEL8
  • Deployment Method: tar
  • Number of Running Instances: 4
  • DB Replicaset Oplog: Yes
  • NodeJS Version: 20.17.0
  • MongoDB Version: 6.0

Client Setup Information

  • Desktop App or Browser Version: Latest Chrome, Firefox and Desktop client.
  • Operating System: OS independent

Additional context

  • If you link the message whose enlarged image is shown incorrectly to other channel, the picture is shown correctly.
  • We have also checked the database entries of both messages in db.rocketchat.message -collection and in comparison their references to their files do not cross refer each other.
  • The failing picture is not always shown in the files tab of the channel. Sometimes it is, though.

So far we have deduced:

  1. Issue happens only inside the same channel
  2. Issue is seems to be in the image viewer, not data itself
  3. The files have been uploaded with mobile or desktop client
@reetp
Copy link

reetp commented Dec 9, 2024

Have you got a ticket open on this? You should open one for EE.

I just want to make sure we don't duplicate effort.

@Gummikavalier
Copy link
Author

Gummikavalier commented Dec 9, 2024

No not yet.

I cannot reproduce this reliably and I suspect the cause may be one off type of problem with old client versions and possible API changes in RC 7.0.

If so, time will fix this issue.

@reetp
Copy link

reetp commented Dec 10, 2024

OK thanks - please update as necessary.

This will auto close in 14 days but we can re-open if required.

@Gummikavalier
Copy link
Author

Thanks. We can let this go stale and I'll report any possible findings in the future to this one, pinging if needed. :)

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

No branches or pull requests

2 participants