View Issue Details

IDProjectCategoryView StatusLast Update
0023411CommunityWebsite:Trackerpublic2023-09-29 17:12
ReporterabvAssigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Summary0023411: Incorrect association of Git author / committer with Mantis user account
DescriptionAs noticed by Roman Lygin, commits having him as an author are associated by Mantis with account 'rln' instead of 'Roman Lygin' (both accounts naturally have the same real person name), see e.g. 0023393. This is probably a bug in Mantis Source Integration plugin.
TagsNo tags attached.
Test case number

Activities

aiv

2012-09-04 17:42

reporter   ~0021409

Last edited: 2012-09-05 11:46

The scheme of working of the standard MantisBT Source Control Integration plugin is as follows:

information for each changeset is taken from gitweb, for example:

-----
author Roman Lygin <roman.lygin@gmail.com>
 Sun, 19 Aug 2012 07:01:32 +0000 (11:01 +0400)
-----

from this extracted:

<author> = "Roman Lygin";
<author_email> = "roman.lygin@gmail.com";

The MantisBT database stores following information for each user:
<user_id>, <username>, <realname>, <email>, ...

these values compared with information extracted from GitWeb as follows:

if (<author> == <username>)
    <my_user_id> = appropriate <user_id>;
if (<author_email> == <email>)
    <my_user_id> = appropriate <user_id>;
if (<author> == <realname>)
    <my_user_id> = appropriate <user_id>;

(<my_user_id> overwrites)

then the <my_user_id> value used as needed

Insofar as comparing with <realname> is the last and there was same realnames for different Roman Lygin's accounts the collisions occurred.

I think it is a good idea report this issue to the plugin maintenance team, because the such comparison order looks strange...

kgv

2021-11-19 22:02

developer   ~0105279

Igor, could you please check if issue is reproducible on upgraded Mantis plugin?

Issue History

Date Modified Username Field Change
2012-08-30 19:47 abv New Issue
2012-08-30 19:47 abv Assigned To => bugmaster
2012-09-04 11:04 bugmaster Assigned To bugmaster => aiv
2012-09-04 11:04 bugmaster Status new => assigned
2012-09-04 17:42 aiv Note Added: 0021409
2012-09-05 11:46 aiv Note Edited: 0021409
2019-01-31 15:12 kgv Assigned To aiv => bri
2021-11-19 22:02 kgv Note Added: 0105279
2021-11-19 22:02 kgv Assigned To bri => bugmaster
2021-11-19 22:02 kgv Status assigned => feedback
2023-09-29 17:12 vglukhik Status feedback => closed
2023-09-29 17:12 vglukhik Resolution open => won't fix