Rocket.chat: Renaming of channel breaks links/references

Created on 27 May 2017  路  6Comments  路  Source: RocketChat/Rocket.Chat

Rocket.Chat Version: 0.55.1
Running Instances: 1
DB Replicaset OpLog: Disabled
Node Version: v4.2.6

When channels are renamed the links/references that point to the channel stop working. Moreover, the link labels keep the previous channel name.

E.g., suppose there is a channel #testchannel. In another channel a user wrote "Hey, see discussion in #testchannel". Now, we rename the channel to #a-testchannel. The message text remains as it used to be before the renaming action. Clicking on the #testchannel link in the message now yields an error message:
image

My expectations:

  1. The link in the message is still working (in Mongo DB the message even contains the technical key to the channel!)
  2. The message texts are always changed accordingly (=> "Hey, see discussion in #a-testchannel"). Perhaps, the changing user may choose whether the labels of channel references are supposed to be updated or not.

To me, this feels like a bug as it makes renaming a no-go.
This feature is important to us. We have a vast number of channels and seek for a way to flag certain channels. Way to go seems to be suffixes in the channel names. (I'll file a separate feature request for this.)

channel settings bug

Most helpful comment

I have fixed the issue but I am not able to change the unit tests accordingly.
Help appreciated. :)

All 6 comments

Is the idea behind suffixes organizing channels in categories? See #2049.

@localguru: That's right. However, I've opened #7109 for this. I'll link the two issues. Thanks for the hint!

From my perspective this issue remains a bug (renaming doesn't work as expected).

@mld18 Markus, I'd love to see that feature too.

A quarter of a year and a couple of Rocket releases have gone by and I wanted to check if there's any news on this bug here?
It's still a real impediment for us. I'm a little surprised that I see lots of new features in the release notes but it seems to me that this core functionality issue has remained untouched for quite a long time.

And almost one year later still no reply to this?
I just checked if this Bug is solved but we still have the same issue.

Any Plans on fixing this anytime??

I have fixed the issue but I am not able to change the unit tests accordingly.
Help appreciated. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

amayer5125 picture amayer5125  路  3Comments

marceloschmidt picture marceloschmidt  路  3Comments

royalaid picture royalaid  路  3Comments

Kiran-Rao picture Kiran-Rao  路  3Comments

tanc picture tanc  路  3Comments