Case sensitivity in links to groupname

In one of the volunteer groups we’re using links to pre-populate PMs to groups.

A link to a username such as stephen corrects the capitalization in the PM window.

example 1
example 2

it doesn’t happen for a groupname:

example 1
example 2

And only throws an error when you go to send the PM:

One of the users you are sending this message to could not be found.

3 Likes

This bug is not probably limited only to groups.

I’ve got this error when sending to multiple users at once from copy/pasted list. All usernames were correctly inserted (and have their X next to a name) so I suppose that they were found.

image

Haven’t seen the actual code and I don’t know if it is workable, but it would be great if this error could specify which username in particular it has on mind :slight_smile:

I did test usernames above and it appeared to work, as a follow-up I will test multiple simultaneous recipients.

2 Likes

Thanks! My usernames are not corrected… But I’m not on the very latest. This must be new fix… I’ll update.

Strange. I’ve updated to latest and this issue persists…

I’m pretty confused, because it seems like I can add even non-existing users and (x) is displayed next to their name… So usernames are not corrected automatically when inserting into PM?

I think that adding information about which user was not found into error message would be very helpful.

image

My use case is inserting 50 members by copy-paste and there are evidently some letters not written in proper case. The only solution for me is to invite them into message one by one.

1 Like

Fixed via:

https://github.com/discourse/discourse/commit/e8fb9d406667c758cba0f7b1cc779e1ceb352c4c

4 Likes

This topic was automatically closed after 22 hours. New replies are no longer allowed.