Defect #4136
closedWrong users are created during trac migration to redmine
0%
Description
Hi,
i just installed redmine and i'm testing migration of trac to redmine. I see a problem with migrating trac users to redmine. Some of the users are created properly, but there are new users that are combination from 2 existing users.
Let's say that we have following users in trac:
username Firstname Lastname Emails
user1 User1 Name user1@domain.tld
user2 User2 Name user2@domain.tld
user3 User2 Name user3@domain.tld
user4 User3 Name user4@domain.tld
user5 User4 Name user5@domain.tld
After trac migration in user lists in redmine i see these:
username Firstname Lastname Emails
user1 User1 Name - user1@domain.tld
user2 User2 Name - user2@domain.tld
user3 User3 Name - user3@domain.tld
user4 User4 Name - user4@domain.tld
user5 User4 Name - user5@domain.tld
user2--user4 user2- user4 - user2--user4@foo.bar
user2--user5 user2- user5 - user2--user5@foo.bar
user3--user1 user3- user1 - user3--user1@foo.bar
user3-user2 user3-user2 - user3-user2@foo.bar
I don't have in session_table users like user2--user4. What is expected is these wrong users to not be created.
Updated by Ali Nebi about 15 years ago
Additionally we have installed on trac several plugins and during migration from trac redmine created these users:
Timing-and-Estimation-Plugin Timing and Estimation Plugin - Timing-and-Estimation-Plugin@foo.bar
trac trac - trac@foo.bar
WorkLog-Plugin WorkLog Plugin - WorkLog-Plugin@foo.bar
root root - root@foo.bar
We don't have these users in "session_attribute" and "permission" tables.
Probably existing users in trac must be taken from "session" table and the attributes like name, roles must be taken from "session_attribute" table.
We are using trac-0.11.5
Updated by Ali Nebi about 15 years ago
- Status changed from New to Resolved
Problem was in trac database, because for some tickets were set in owner field mutliple users this way: "user1, user3". then redmine check this field and create wrong user name.
Users that come from plugins are creating because some wiki pages belongs to these authors.
Updated by Jean-Philippe Lang about 15 years ago
- Status changed from Resolved to Closed
- Resolution set to Invalid
Thanks for the feedback.