Rt2-to-rt3 importing links problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I added the ‘use RT::Scrip;’ to dumpfile-to-rt3.0 (v1.20), but I now get the
following error:

Importing links
[Sat Jan 10 08:00:36 2004] [crit]: Can’t call method “Scheme” on an undefined
value at /usr/local/rt3/lib/RT/URI.pm line 177.
(/usr/local/rt3/lib/RT.pm:254)

Any ideas?

  • -Doug

Douglas E. Warner dwarner@ctinetworks.com Network Engineer
CTI/PAdotNET http://ctinetworks.com +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFABAttJV36su0A0xIRAhHhAKCX2pB/zkYZhDSTKuHSyv5UN+gdJQCff9zh
Gr8uXB3O1OR/VW05ES5DwUs=
=Tg7E
-----END PGP SIGNATURE-----

I am having the same problem as Doug:

Running dumpfile-to-rt-3.0 v1.21 (RT 2.0.14 to RT 3.0.8)

./dumpfile-to-rt-3.0 /var/opt/rtdump/rt2


.t-2157
Importing links
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
lll[Thu Feb 12 08:02:54 2004] [crit]: Can’t call method “Scheme” on an
undefined value at /var/opt/rt3/lib/RT/URI.pm line 177.
(/var/opt/rt3/lib/RT.pm:254)

I’ve tried adding RT/Scrips to the dumpfile-to-rt-3.0 script to no
avail. Anything else I can try?

Thanks in advance.

Jim

debian 3.0
rt 3.0.8

Message: 9Date: Tue, 13 Jan 2004 10:14:53 -0500
From: “Douglas E. Warner” dwarner@ctinetworks.com
Subject: [rt-users] rt2-to-rt3 importing links problem
To: rt-users@lists.fsck.com
Message-ID: 200401131014.54656.dwarner@ctinetworks.com
Content-Type: Text/Plain; charset=“us-ascii”

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I added the ‘use RT::Scrip;’ to dumpfile-to-rt3.0 (v1.20), but I now get
the
following error:

Importing links
[Sat Jan 10 08:00:36 2004] [crit]: Can’t call method “Scheme” on an
undefined
value at /usr/local/rt3/lib/RT/URI.pm line 177.
(/usr/local/rt3/lib/RT.pm:254)

Any ideas?

  • -Doug

Douglas E. Warner dwarner@ctinetworks.com Network Engineer
CTI/PAdotNET http://ctinetworks.com +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFABAttJV36su0A0xIRAhHhAKCX2pB/zkYZhDSTKuHSyv5UN+gdJQCff9zh
Gr8uXB3O1OR/VW05ES5DwUs=
=Tg7E
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1On Thursday 12 February 2004 11:28, Jim Williams wrote:

./dumpfile-to-rt-3.0 /var/opt/rtdump/rt2


.t-2157
Importing links
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
l lll[Thu Feb 12 08:02:54 2004] [crit]: Can’t call method “Scheme” on an
undefined value at /var/opt/rt3/lib/RT/URI.pm line 177.
(/var/opt/rt3/lib/RT.pm:254)

I think I narrowed my problem down to the fact that I was deleting ‘dead’
tickets before I imported into RT3, and some of those dead tickets were
linked to by other tickets (improperly marked ‘dead’), thus breaking the
import (trying to link to a non-existant ticket).
To work around, I modified the import script to spit out what link it was
working on, and deleted that from the metadata file in my dumpdir and
continued til it worked.

  • -Doug

Douglas E. Warner dwarner@ctinetworks.com Network Engineer
CTI/PAdotNET http://ctinetworks.com +1 717 975 9000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAK9PNJV36su0A0xIRAnCZAKCDcrkJryGkeOWBxqcYrdVezTf1UACbBTlX
cc9infK1iEPlSeCYhohtKRY=
=d7cG
-----END PGP SIGNATURE-----

I think I narrowed my problem down to the fact that I was deleting
‘dead’
tickets before I imported into RT3, and some of those dead tickets were
linked to by other tickets (improperly marked ‘dead’), thus breaking
the
import (trying to link to a non-existant ticket).
To work around, I modified the import script to spit out what link it
was
working on, and deleted that from the metadata file in my dumpdir and
continued til it worked.

I’ve also got a patched version of the import tool that should deal
with this cleanly. It should be out within the next several days

PGP.sig (186 Bytes)