MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023411Community[OCCT] Website:Trackerpublic2012-08-30 19:472019-01-31 15:12
Reporterabv 
Assigned Tobri 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
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
Attached Files

- Relationships

-  Notes
(0021409)
aiv (reporter)
2012-09-04 17:42
edited on: 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...


- 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 View Revisions
2019-01-31 15:12 kgv Assigned To aiv => bri


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker