Skip to content

Setting colors by API does not work anymore #9628

@janrudolph

Description

@janrudolph

Description:

An admin is able to setup most Rocket.Chat settings by the API, e.g. setting up the colors (Layout -> colors). In previous versions this worked pretty fine. Since 0.59 setting colors by the API does not work anymore.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.61.0
  • Operating System: Linux
  • Deployment Method(snap/docker/tar/etc): AWS
  • Number of Running Instances: 2
  • Node Version: v8.9.3

Steps to Reproduce:

  1. /api/v1/login with admin
  2. Example: Set "theme-color-rc-color-primary-darkest" with value "#03625A" by API
    => color is not applied

Expected behavior:

Color is set to the correct value and "color-editor" is set to "color"

Actual behavior:

Value is inserted in correct field, but "color-editor" is set to "expression" (not color!). An admin has to set the "color-editor" to "color" manually.

colors-not-set

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions