[rt-users] dumpfile-to-rt-3.0 failed (2.0.14 - 3.8.8)

Kevin Falcone falcone at bestpractical.com
Wed Feb 16 09:34:31 EST 2011


On Tue, Feb 15, 2011 at 09:32:33PM +0100, Daniel Schwager wrote:
> Hi,
> 
> a) I started the import now by erasing the predefined database:
> 
> This helps me to track down other issues e.g. the imported tickets has
> no assigned owner.
> May this could be a small note in your dumpfile-to-rt-3.0-README .

The upgrader assumes a clean DB (since it is a conversion tool).
If you want to merge into an existing 3.x system, check the MERGING
section.  Patches against the git repo to improve the documentation
are appreciated.

> > Importing links
> > l[Tue Feb 15 20:12:28 2011] [warning]: Use of uninitialized value in
> concatenation (.) or string at /usr/bin/dumpfile-to-rt-3.0 line 434.
> (/usr/bin/dumpfile-to-rt-3.0:434)
> > [Tue Feb 15 20:12:28 2011] [warning]: Use of uninitialized value in
> concatenation (.) or string at /usr/bin/dumpfile-to-rt-3.0 line 440.
> (/usr/bin/dumpfile-to-rt-3.0:440)
> ..
> > Skipping link creation (21 4 MemberOf) because duplicate of 2 detected
> > Skipping link creation (30 30 MergedInto) because duplicate of 9
> detected
> 
> What are exactly the "Links" ? So, may they are not important for the
> migration ?

Links are merges, parent/child, etc
They're important if you use those features
This still implies that you have incorrect link structures in your rt2
database since the cache isn't being populated.

> c) Import of tickets
> Concerning the normal ticket import, I got this kind of warning for each
> ticket:
> 
> t-35437: [Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized
> value in hash element at /usr/bin/dumpfile-to-rt-3.0 line 667.
> (/usr/bin/dumpfile-to-rt-3.0:667)
> 		line 667:      $ticket->{'Owner'} = $user_map->{
> $ticket->{'Owner'} };
> 
> wta[Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
> string eq at /usr/bin/dumpfile-to-rt-3.0 line 891.
> (/usr/bin/dumpfile-to-rt-3.0:891)
> 		line: 891:                        if ( $content_type =~
> qr{(text/|message/rfc822)}i )
> 
> [Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
> length at /opt/rt3/lib/RT/Record.pm line 753.
> (/opt/rt3/lib/RT/Record.pm:753)
> 		line: 753       #if the attachment is larger than the
> maximum size
> 
> 			        if ( ($MaxSize) and ( $MaxSize <
> length($Body) ) ) {
> 
> [Tue Feb 15 20:09:42 2011] [warning]: Use of uninitialized value in
> string eq at /usr/bin/dumpfile-to-rt-3.0 line 970.
> (/usr/bin/dumpfile-to-rt-3.0:970)
> aat
> 	line 970:                    if ($a->{ContentEncoding} eq
> 'base64'

You may wish to try the current git version and see if any of the
unreleased patches help.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110216/0a2b8df9/attachment.sig>


More information about the rt-users mailing list