-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Image Assets (Admin > Settings > Assets) not properly being pushed through to all necessary locations. #18344
Copy link
Copy link
Closed
RocketChat/Rocket.Chat.ReactNative
#2376Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interaction
Description
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:
- Go to Admin > Settings > Assets and save a logo as the android-chrome 512x512 (png)
- Save Changes.
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interaction