Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Tilda (~) channel links sometimes not resolving #4867

Closed
davidmilligan opened this issue Sep 7, 2023 · 1 comment
Closed

Bug: Tilda (~) channel links sometimes not resolving #4867

davidmilligan opened this issue Sep 7, 2023 · 1 comment
Labels
Bug Something isn't working Triage

Comments

@davidmilligan
Copy link

Steps to reproduce the behavior

We are making a bot that posts things that include links to other channels using the tilda followed by the channel name, but I'm fairly certain the behavior is the same even if a real user makes such a post (also happening for posts that are bot responses to slash commands). Sometimes, these links do not get turned into an actual hyperlink to the associated channel, sometimes they do (even though the channels are public). It is most common that they do not get turned into a hyperlink if the user has not already joined the particular channel. If the user manually joins the channel and comes back to the post with the link in it, it has usually turned into an actual hyperlink at that point. This is happening on a team with tens of thousands of channels.

Expected behavior

All valid tilda links to public channels show up as actual hyperlinks to the associated channel for any user.

Edition and Platform

  • Edition: Mattermost Enterprise Edition
  • Version: 8.0.1
  • Browser and OS: Edge on Windows

Additional context (optional)

Add any other context about the problem here, and any notes about the severity:

  • Sev 3: Affects minor, non-critical functionality

The main purpose of these bot posts is to help users find channels they might be interested in joining, so if all the channels they haven't joined yet, don't actually show up as hyperlinks, it sort of defeats the entire purpose.

@davidmilligan davidmilligan added Bug Something isn't working Triage labels Sep 7, 2023
@davidmilligan
Copy link
Author

sorry, opened this in the wrong repo, this was meant to be in the main mattermost repo, but I've figured out that the reason this was happening was due to uppercase letters in the link (I guess mattermost automatically converts all channel names to lowercase for linking purposes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage
Projects
None yet
Development

No branches or pull requests

1 participant