Project

General

Profile

Actions

Defect #1340

closed

Trac migration task - user issues

Added by James Turnbull over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Importers
Target version:
Start date:
2008-05-31
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When migrating from Trac the rake task selects users inconsistently because it only grabs users who have created a ticket, wiki page or attachment. This means some users are migrated with user name and email address and others are not. The script should use the contents of the session_attribute table like:

INSERT INTO "session_attribute" VALUES;
INSERT INTO "session_attribute" VALUES;

This could be done either as a supplemental query in the find_or_create_user class or a separate migration task.


Files

def_find_or_create_user.rb (1.78 KB) def_find_or_create_user.rb James Turnbull, 2008-06-02 16:53
Actions

Also available in: Atom PDF