Skip to content

[BUG] Cannot replace spaces with dashes in channel name #11696

@kaiiiiiiiii

Description

@kaiiiiiiiii

It is not possible to replace spaces with dashes in the channel name. However, it works the other way around.

Even after several attempts, the original value remains the same.

Steps to reproduce:

  1. Allow special characters in channel name
  2. Create a channel named "this is a test"
  3. Try to rename the channel to "this-is-a-test"

aug-07-2018 20-46-15

As you can see it shows successful, but the channel name stays the same. Furthermore, there is still a mix up of 'name' and 'fname' in different parts of the UI which is a bit annoying when you allow special characters.

Expected behavior:

Channel should be renamed to "this-is-a-test".

Actual behavior:

It's not.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.68.3
  • Operating System: Ubuntu 16.04 LTS
  • Deployment Method: tar
  • Number of Running Instances: 4
  • DB Replicaset Oplog: yes
  • NodeJS Version: 8.11.1
  • MongoDB Version: 3.6ish

Thanks guys :)

Metadata

Metadata

Assignees

No one assigned

    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