[rt-devel] RT-Win32 2.1.14.

Autrijus Tang autrijus at autrijus.org
Sun Jun 2 13:16:14 EDT 2002


On Sun, Jun 02, 2002 at 03:07:38PM +0800, Autrijus Tang wrote:
> - http://autrijus.org/rt-2-1-14-win32.exe
> - http://autrijus.org/rt-2-1-14-win32.zip
> - http://autrijus.org/rt-2-1-14-win32.tgz
> - http://autrijus.org/rt-2-1-14-win32.diff

Oops. Thanks to jedi at jedism.org for pointing out that this serious bug
that prevents reply/commenting a bug on windows has crept in (see patch
below).  Just FYI.

Thanks,
/Autrijus/

==== //depot/RT/lib/RT/Interface/Web.pm#9 (text) ====

@@ -354,7 +354,7 @@
 
     my $cgi_object = $RT::Mason::CGI;
 
-    my $filehandle = eval { $cgi_object->upload( $args{'AttachmentFieldName'} ) } or return;
+    if (my $filehandle = eval { $cgi_object->upload( $args{'AttachmentFieldName'} ) }) {
 
     use File::Temp qw(tempfile tempdir);
 
@@ -379,6 +379,9 @@
     close($fh);
 
     #	}
+
+    }
+
     $Message->make_singlepart();
     return ($Message);
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 200 bytes
Desc: not available
Url : http://pallas.eruditorum.org/pipermail/rt-devel/attachments/20020603/5bffa1db/attachment.pgp


More information about the Rt-devel mailing list