Rt2-to-rt3-v1.20 bug?

Jesse, et. al.

I noticed that to get v1.20 to work for a full dump transfer, I had to
make the change below or I’d get this error:

/usr/local/rt3/bin # ./dump-to-rt3.pl /usr/local/rt3-import/all
[Sun Jan 11 23:53:02 2004] [crit]: Can’t locate object method “new” via
package “RT::Scrip” (perhaps you forgot to load “RT::Scrip”?) at
./dump-to-rt3.pl line 387.
(/usr/local/rt3/lib/RT.pm:254)

/usr/local/rt3/bin # diff -u dump-to-rt3.pl.orig dump-to-rt3.pl
— dump-to-rt3.pl.orig Sun Jan 11 17:45:25 2004
+++ dump-to-rt3.pl Sun Jan 11 17:54:13 2004
@@ -40,6 +40,7 @@
use RT::Template;
use RT::CustomFields;
use RT::Principals;
+use RT::Scrip;

#*RT::Principal::HasRight = sub { 1 };;
#Clean out all the nasties from the environment

FYI.

Benjamin Allen benjamin@oitsec.umn.edu
U of MN - OIT 612-625-7885

  I try to take one day at a time, but sometimes several
     days attack me at once.  -- Ashleigh Brilliant

I think that’s already in svn, we’re just overdue for a release.On Sun, Jan 11, 2004 at 06:04:32PM -0600, Ben Allen wrote:

Jesse, et. al.

I noticed that to get v1.20 to work for a full dump transfer, I had to
make the change below or I’d get this error:

/usr/local/rt3/bin # ./dump-to-rt3.pl /usr/local/rt3-import/all
[Sun Jan 11 23:53:02 2004] [crit]: Can’t locate object method “new” via
package “RT::Scrip” (perhaps you forgot to load “RT::Scrip”?) at
./dump-to-rt3.pl line 387.
(/usr/local/rt3/lib/RT.pm:254)

/usr/local/rt3/bin # diff -u dump-to-rt3.pl.orig dump-to-rt3.pl
— dump-to-rt3.pl.orig Sun Jan 11 17:45:25 2004
+++ dump-to-rt3.pl Sun Jan 11 17:54:13 2004
@@ -40,6 +40,7 @@
use RT::Template;
use RT::CustomFields;
use RT::Principals;
+use RT::Scrip;

#*RT::Principal::HasRight = sub { 1 };;
#Clean out all the nasties from the environment

FYI.

Benjamin Allen benjamin@oitsec.umn.edu
U of MN - OIT 612-625-7885

 I try to take one day at a time, but sometimes several
    days attack me at once.  -- Ashleigh Brilliant

rt-devel mailing list
rt-devel@lists.bestpractical.com
The rt-devel Archives

Request Tracker — Best Practical Solutions – Trouble Ticketing. Free.