Rt2-to-rt3-1.23

When importing an rt2.0.13 dump to version 3.0.9 I get the following
errors:

Importing groups
ggrrrrrrqqqqqqqImporting tickets…Importing links
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
Couldn’t create link from fsck.com-rt:/ticket/67 to
fsck.com-rt:/ticket/27party#/home/pawal/src/rt2-to-rt3-1.23>

And then it halts, with no tickets imported. The imported users seems
fine.

patrik_wallstrom->foodfight->pawal@blipp.com->+46-733173956
`-> http://www.gnuheter.com/

When importing an rt2.0.13 dump to version 3.0.9 I get the following
errors:

Importing groups
ggrrrrrrqqqqqqqImporting tickets…Importing links
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
lCan’t call method “Scheme” on an undefined value at /usr/local/rt3/lib/RT/URI.pm line 177.
Couldn’t create link from fsck.com-rt:/ticket/67 to
fsck.com-rt:/ticket/27party#/home/pawal/src/rt2-to-rt3-1.23>

And then it halts, with no tickets imported. The imported users seems
fine.

When I use the RT with the import done so far, I get the following
problem when I try to view a new ticket (the only ticket so far):

error: Can’t locate object method “Columns” via package
“RT::Attachments” at
/usr/local/rt3/share/html/Ticket/Elements/ShowAttachments line 66.
context:

62: my %documents;
63: my $transactions = $Ticket->Transactions();
64: while (my $trans = $transactions->Next()) {
65: my $attachments = $trans->Attachments();
66: $attachments->Columns( qw( Id Filename ContentType Headers
Subject Parent ContentEncoding ContentType TransactionId) );
67: $attachments->Limit(FIELD => ‘Filename’, OPERATOR => ‘IS NOT’,
VALUE => ‘NULL’, QUOTEVALUE => 0, ENTRYAGGREGATOR => ‘AND’);
68: $attachments->Limit(FIELD => ‘Filename’, OPERATOR => ‘!=’, VALUE
=> ‘’, ENTRYAGGREGATOR => ‘AND’);
69: while (my $attach = $attachments->Next()) {
70: next unless ($attach->Filename());

code stack:
/usr/local/rt3/share/html/Ticket/Elements/ShowAttachments:66
/usr/local/rt3/share/html/Ticket/Elements/ShowSummary:68
/usr/local/rt3/share/html/Ticket/Display.html:33
/usr/local/rt3/share/html/autohandler:195
raw error

Does this relate to the import problem, perhaps?

patrik_wallstrom->foodfight->pawal@blipp.com->+46-733173956
`-> http://www.gnuheter.com/

Patrik Wallstrom wrote:

error: Can’t locate object method “Columns” via package
“RT::Attachments” at
/usr/local/rt3/share/html/Ticket/Elements/ShowAttachments line 66.

Your version of DBIx::SearchBuilder is too old.
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - A CyberGuard Company