Skip to content

Image Assets (Admin > Settings > Assets) not properly being pushed through to all necessary locations. #18344

@BizClimb

Description

@BizClimb

Description:

When saving assets in the admin panel, they don't properly get saved in all necessary locations. Specifically /programs/web.browser/app/images/logo on the server. This causes the rendering of "default rocket chat logos" instead of the uploaded logos in workspace views in the app and possibly other locations.

Steps to reproduce:

  1. Go to Admin > Settings > Assets and save a logo as the android-chrome 512x512 (png)
  2. Save Changes.
  3. Go to https://YOURWORKSPACEURL/images/logo/android-chrome-512x512.png

Expected behavior:

It should show your uploaded 512 asset.

Actual behavior:

It shows default 512 rocket chat logo.

Server Setup Information:

  • Version of Rocket.Chat Server: 3.4.2
  • Operating System: Debian
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.14.0
  • MongoDB Version: 4.2.7

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

I'm not sure where else the logos might not be set properly but I am sure at minimum locally on the server at: /Rocket.Chat/programs/web.browser/app/images/logo and /Rocket.Chat/programs/web.browser.legacy/app/images/logo

Relevant logs:

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interaction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions