View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004226||mantisbt||ui||public||2004-07-30 16:16||2018-03-06 00:26|
|Product Version||git trunk|
|Target Version||2.12.0||Fixed in Version||2.12.0|
|Summary||0004226: Provide a way to disambiguate duplicate realnames|
Two realnames can be the same. There is no easy way to differentiate them.
The patch checked in for 0003975 has additional code to check for duplicates and set a flag in the user's database entry to allow them to be displayed differently. It is controlled by the config variable "differentiate_duplicates".
We need to consider how this works with LDAP before a final commit.
|Tags||No tags attached.|
Can this be resolved?
It's still open. The code is in place, but not active. We need to create a database upgrade to populate the database properly.
Is this still an issue? I've recently fixed 0008343 which may be related to this issue.
It's still open. The feature is to allow us to differentiate users with the same real name, but different user names. They are displayed as "John Doe(jdoe)" and "John Doe(sneezy)".
The installer needs code to find all duplicate usernames and set a flag in the database. Should I add this for 1.1?
Why set a flag? Why don't we change the duplicate names to have the user name and update the code to stop any future duplicate names. This will avoid extra overhead in constructing list of user names. And in the future will keep user names shorter.
I think we should aim to have the union of user names and user real names have no duplicates.
If we go with this fix, then we can include it in 1.1.0rc1.
We can't do this. This would imply that the second "John Doe" to sign up can't use their real name. I agree that usernames should be unique, but real names don't have to be. The real name can also match the user name for an individual.
Adding the flag eliminates any overhead as the flag is in the same query as the username/real name.
All that is required to complete this is to add the database update:
$upgrade = Array( 'AddColumnSQL', Array( db_get_table( 'mantis_user_table' ), "
I would do this except someone commented out the rest of the related code.
The uniqueness is enforced via:
The following PR was revised to allow duplicate real names or real names that are duplicate with a username:
To disambiguate duplicates, usernames are now displayed as:
The code was refactored to always use central APIs for printing and sorting of user names. The sorting respects the configuration option to sort by last name when enabled.
|2004-07-30 16:16||thraxisp||New Issue|
|2007-07-21 09:46||grangeway||Note Added: 0015127|
|2007-07-22 10:29||thraxisp||Note Added: 0015153|
|2007-09-11 09:38||vboctor||Note Added: 0015609|
|2007-09-11 09:38||vboctor||Status||new => feedback|
|2007-09-11 23:26||thraxisp||Note Added: 0015617|
|2007-09-11 23:43||vboctor||Note Added: 0015618|
|2007-09-12 07:03||thraxisp||Note Added: 0015620|
|2008-07-28 16:14||grangeway||Note Added: 0018862|
|2008-07-28 16:14||grangeway||Status||feedback => assigned|
|2008-07-28 16:14||grangeway||Assigned To||=> thraxisp|
|2009-05-19 21:13||thraxisp||Relationship added||related to 0010493|
|2009-05-19 21:27||thraxisp||Note Added: 0021846|
|2009-05-19 21:27||thraxisp||Assigned To||thraxisp =>|
|2009-05-19 21:27||thraxisp||Status||assigned => confirmed|
|2018-01-30 02:19||vboctor||Assigned To||=> vboctor|
|2018-01-30 02:19||vboctor||Status||confirmed => assigned|
|2018-01-30 02:19||vboctor||Target Version||=> 2.11.0|
|2018-01-30 02:19||vboctor||Note Added: 0058670|
|2018-01-30 02:21||vboctor||Status||assigned => resolved|
|2018-01-30 02:21||vboctor||Resolution||open => duplicate|
|2018-01-30 02:21||vboctor||Relationship added||duplicate of 0023909|
|2018-02-04 03:36||vboctor||Status||resolved => assigned|
|2018-02-04 03:36||vboctor||Resolution||duplicate => open|
|2018-02-04 03:36||vboctor||Note Added: 0058734|
|2018-02-04 03:36||vboctor||Summary||Non-unique realnames aren't flagged => Provide a way to disambiguate duplicate realnames|
|2018-02-04 03:43||vboctor||Category||bugtracker => ui|
|2018-02-06 21:22||vboctor||Target Version||2.11.0 => 2.12.0|
|2018-02-07 02:50||vboctor||Status||assigned => resolved|
|2018-02-07 02:50||vboctor||Resolution||open => duplicate|
|2018-02-07 02:50||vboctor||Fixed in Version||=> 2.12.0|
|2018-03-04 00:36||vboctor||Status||resolved => closed|
|2018-03-06 00:26||vboctor||Relationship added||related to 0024069|