Skip to content

[3.6.1] Non admin cannot add custom avatar to group #18894

@acceptMyPR

Description

@acceptMyPR

Description:

As in #18785 non admin still cannot add custom avatar to group
Then you saving avatar there is an error on server:

Exception in setTimeout callback: TypeError: Cannot read property 'etag' of undefined
    at app/lib/server/functions/setRoomAvatar.js:34:46
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
    at packages/meteor.js:550:25
    at runWithEnvironment (packages/meteor.js:1286:24)

Steps to reproduce:

  1. Click channel and click Room information
  2. Click edit and click upload and choose I want change avatar
  3. Click save but not change avatar

Expected behavior:

Changing avatar

Actual behavior:

Server Setup Information:

  • Version of Rocket.Chat Server: 3.6.1
  • Operating System: Linux
  • Deployment Method: kubernetes
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version: 2.17.11
  • Operating System: MacOS

Additional context

Relevant logs:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions