[rt-users] upgrade from RT2 to RT3

Jesse Vincent jesse at bestpractical.com
Thu Dec 23 16:32:11 EST 2004




On Thu, Dec 23, 2004 at 12:32:14PM -0800, James Lee wrote:
> hi,
> i have a question regarding upgrade.  currently i'm
> running RT2.0.15 with mysql as the database.  i just
> installed on another server RT3.2.2 with oracle 9205. 
> i downloaded the migration tool
> http://bestpractical.com/pub/rt/devel/rt2-to-rt3.tar.gz.
>  the README in that tarfile isn't clear on whether the
> migration method is strictly for mysql going tom rt2
> to rt3.  or the migration method will work between
> mysql and oracle.  has anyone try to migrate from rt2
> using mysql to rt3 using oracle?

I know it's been done. I'm in the middle of triaging some rt2->rt3
issues for a customer that might actually affect imports.

This is the patch I've been testing out. It will fix possibly truncated
attachments:


=== lib/RT/Attachment_Overlay.pm
==================================================================
--- lib/RT/Attachment_Overlay.pm  (revision 2464)
+++ lib/RT/Attachment_Overlay.pm  (local)
@@ -220,7 +220,11 @@
     my %args = ( ContentEncoding => 'none',
 
 		 @_ );
-    return($self->SUPER::Create(@_));
+
+
+ ($args{'ContentEncoding'}, $args{'Content'}) = $self->_EncodeLOB($args{'Content'}, $args{'MimeType'});
+
+    return($self->SUPER::Create(%args));
 }
 
 # {{{ sub Content
> thanks
> jim
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
> 

-- 



More information about the rt-users mailing list