Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Files/filenames get mixed up when uploading 3+ files

Open marcingodlewski opened this issue 9 years ago • 24 comments

Rocket.Chat Version: 0.56.0 Running Instances: 1 DB Replicaset OpLog: Enabled Node Version: v4.8.1 - x64

Problem occurs repeatedly when I try to drag 3 files (e.g. "a.xlsx", "b.xlsx", "c.xlsx") into the chat window for upload. The recipient gets 3 deliveries but with filenames mixed up, e.g. "a.xlsx", "b.xlsx", "b.xlsx" and the contents of files not matching the filenames

marcingodlewski avatar Jun 20 '17 07:06 marcingodlewski

same problem for pdf files, sometimes when you try to send two files at once, the same file is sent twice, but with the names of the two files sent. example: Sending a.pdf and b.pdf to an user, the user gets a.pdf and b.pdf, but once you open the files you notice it's twice a.pdf .

1stposition-ad avatar Jun 22 '17 13:06 1stposition-ad

Can confirm, tested on demo.rocket.chat. Uploaded 3 files a.txt, b.txt and c.txt.

bildschirmfoto vom 2017-06-23 23 10 39

localguru avatar Jun 23 '17 21:06 localguru

I have a very similar issue. For me I upload 2 files, and both files do get uploaded, but they're displayed with the same names.

OS: Win 10. Browser: FF RC vers: 0.57.2

Brondahl avatar Jul 21 '17 15:07 Brondahl

It's been 7 weeks since this issue was originally posted and there is no follow-up from the maintenance team - not even labeled as bug, which it obviously is, quite a serious one. This is easily reproducible, even at demo.rocket.chat today. Why still no label? Can you please follow-up?

marcingodlewski avatar Aug 08 '17 07:08 marcingodlewski

Any progress on that?

estshy avatar Sep 08 '17 07:09 estshy

I almost reported same issue. Is this going to be fixed? Quite problematic when you send list of items to delete and duplicate :)

autioch avatar Sep 08 '17 07:09 autioch

Issue still exists. Any progress?

marcingodlewski avatar Sep 18 '17 06:09 marcingodlewski

We would appreciate a bug fix as well: v0.58.2

bbrauns avatar Sep 27 '17 08:09 bbrauns

Just tested on demo.rocket.chat (0.59.0-rc.9) and it seems to be fixed. Thanks!

localguru avatar Sep 27 '17 08:09 localguru

@localguru I'm afraid not. I also checked demo.rocket.chat a moment ago and still the 3 files were confused image

marcingodlewski avatar Sep 27 '17 09:09 marcingodlewski

@marcingodlewski You're right. I tested it with images, which works fine. With text files it's wrong on demo.rocket.chat too. test

localguru avatar Sep 27 '17 15:09 localguru

Sorry i post here. i'm not sure if i have the same issue as this.

When i send a file to a person, when they download the files the name is different. Is this a security feature or a bug?

kindly check attach image

-= original filename =- 2017_10_17_11_23_45_

-= downloaded filename =- 2017_10_17_11_24_08_root_v157_7_154_220_data_vhosts_sms_hrceb cyscorpions com_htdocs_app_config

rrepolona avatar Oct 17 '17 03:10 rrepolona

@rrepolona I don't think your issue is related to this one

marcingodlewski avatar Oct 17 '17 07:10 marcingodlewski

@rrepolona the link and button are not the same. And are you using something other than gridfs?

Lawri-van-Buel avatar Oct 17 '17 08:10 Lawri-van-Buel

Link to #8494

marcingodlewski avatar Oct 17 '17 08:10 marcingodlewski

@marcingodlewski @Lawri-van-Buel

thanks for your help, im using Amazon for file uploads instead of gridfs.

i believe the original filename (uploaded filename) should be the same as the download filename. but for us the download filename is different :( is this related to Amazon feature, or security related?

i also research the past issues but did not find any related problem. i might add this as new issue

thanks

rrepolona avatar Oct 19 '17 08:10 rrepolona

Any update to this? Problem still exists in 0.59.3

marcingodlewski avatar Nov 06 '17 10:11 marcingodlewski

Apparently working in v60

marcingodlewski avatar Jan 02 '18 09:01 marcingodlewski

hi, we are still using version 0.59, when uploading multi-files, they get mixed up. But it looks like in the new version of https://open.rocket.chat, this issue has been fixed. But I can not find any update information in the commit history about this issue, can anybody help to tell which file need to be changed to fix that?Thanks in advance!

edisonchen1985 avatar Jan 23 '18 13:01 edisonchen1985

@marcingodlewski do you have any info about that? thanks

edisonchen1985 avatar Jan 23 '18 13:01 edisonchen1985