In Mantis 1.0.1, I have found a bug where you are not allowed to edit a user if their username matches their 'Real Name'.
Here's an example:
Let's say you have a user called 'Tessie Test' and their username is 'tessie
test', if you try and change their userlevel (permissions), you get the following error:
APPLICATION ERROR #807
The "Real Name" chosen matches another user's login name. Please choose another.
This error should not appear since you are actually editing that user itself.
(I had to make the permission changes within MySQL since Mantis would not let me.)
Also, can you add in functionality so that I can use periods '.' in my usernames? My e-mail syntax is firstname.lastname@ and I'd like for the usernames for Mantis to be the same. (Right now I am using a space, however I will update this when the functionality is added (if it's added.) )
Bug in Mantis 1.0.1 (with added feature request)
Moderators: Developer, Contributor
Hi dcomo:
I can't help you with the first part, but regarding the period in your usernames. Valid usernames are defined by the regular expression that is stored in the $g_user_login_valid_regex variable.
In your config_inc.php file, add something like:
$g_user_login_valid_regex = '/^[\w \-\.]+$/';
and you should be right.
Hope that helps,
Lincoln.
I can't help you with the first part, but regarding the period in your usernames. Valid usernames are defined by the regular expression that is stored in the $g_user_login_valid_regex variable.
In your config_inc.php file, add something like:
$g_user_login_valid_regex = '/^[\w \-\.]+$/';
and you should be right.
Hope that helps,
Lincoln.
dcomo, please report the issue in the bugtracker (http://bugs.mantisbt.org).
Regards,
Victor
Mantis Blog
http://www.futureware.biz
Regards,
Victor
Mantis Blog
http://www.futureware.biz