View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024883||mantisbt||mentions||public||2018-10-23 13:18||2019-04-18 13:08|
|Target Version||Fixed in Version|
|Summary||0024883: Mentioning user name with space does not work|
Trying to @-mention a user whose user name contains a space is not possible.
Probably not very easy to fix due to how this is implemented, I know... But here's a random idea: Given that the user name is "Foo Bar", if "@Foo" is matched but no such user exists, try to find any users whose name is "Foo *" and check if this is matched in the text.
|Tags||No tags attached.|
Will not be a clean solution, e.g. assume there is a user
We should probably stop allowing spaces as part of usernames by default. That's a silly thing to do IMO, and I am not sure why we're doing that in the first place (it's been like this since 2003, see 0003183 MantisBT master 3aff2711 )
Given that there are legacy installations with spaces in names, that would only seem like a workaround to me, in particular since it will not fix the problem for these existing installations, where a proper solution like the one suggested by atrol would be required. I don't know how mentions work when displaying of real names is enabled, but if in this case the real name is usable, the same problem would exist again (and if not, I wonder how easy it is for users to actually find out the user name of another user).
|2018-10-23 13:18||j_schultz||New Issue|
|2018-10-23 13:45||atrol||Relationship added||related to 0022484|
|2018-10-23 13:54||atrol||Note Added: 0060841|
|2019-04-17 14:28||atrol||Relationship added||related to 0025698|
|2019-04-18 03:58||dregad||Note Added: 0061965|
|2019-04-18 13:08||j_schultz||Note Added: 0061978|