[rt-users] rt2-to-rt3-1.23

Patrik Wallstrom pawal at blipp.com
Fri Mar 26 10:22:40 EST 2004


On Thu, 25 Mar 2004, Patrik Wallstrom wrote:

> 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 at blipp.com->+46-733173956
                `-> http://www.gnuheter.com/



More information about the rt-users mailing list