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

File Upload Error + Bad Words Filter #22918

Open
theoprata opened this issue Aug 13, 2021 · 4 comments
Open

File Upload Error + Bad Words Filter #22918

theoprata opened this issue Aug 13, 2021 · 4 comments

Comments

@theoprata
Copy link

Description:

Before upgrading to 3.17.0, the file upload feature was working flawlessly. Users were able to drag and drop pictures and other types of files. As soon as I deployed the 3.17.0 update, our users started complaining about an error they get when they were trying to upload a file.

Steps to reproduce:

  1. Open any message window (Group or private)
  2. Upload any type of document (We use a lot of screenshots for sharing issues)
  3. An error "Cannot read property of "0" null" will occur

Expected behavior:

In the previous version, it was working as expected.

Actual behavior:

In the new version, it would give the user an error for any type of file upload.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.17.0
  • Operating System: Ubuntu 20
  • Deployment Method: Docker Image
  • Number of Running Instances: 1
  • DB Replicaset Oplog: *
  • NodeJS Version: 12.22.1
  • MongoDB Version: 4.0.26

Client Setup Information

  • Desktop App or Browser Version: Desktop App 3.2.3 | Firefox
  • Operating System: Windows 10 | Ubuntu

Additional context

By checking the log, I was able to pinpoint the issue to make it work. It seems that issue is tied to the bad words filtering feature as shown in the log below. In a corporate environment, the bad words filtration is a must.

Relevant logs:

image

This was from my staging server.

@ankar84
Copy link

ankar84 commented Aug 13, 2021

Related to #22853 and #22831
Don't close that issue, it should be resolved by RC Team.

@debdutdeb
Copy link
Member

Theo 👋🏼

Thanks for reporting this. This is indeed a legit problem. I'll talk to product and update you all asap.

@yashovardhan
Copy link

Hey there,

We talked about this with the product team. The bad words filter is being deprecated in the following release and is being converted into a RC App (which will also be shipped alongside).

This issue will automatically be resolved henceforth 🙂

@ankar84
Copy link

ankar84 commented Aug 17, 2021

We talked about this with the product team. The bad words filter is being deprecated in the following release and is being converted into a RC App (which will also be shipped alongside).

Nice solution!

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

4 participants