[rt-devel] getting RT to run with latest modules from CPAN - with PATCH

Leif Jakob leif at cube.ch
Fri Jul 12 11:07:14 EDT 2002


Hi,

there are some problems getting RT (HEAD) to run with latest stuff
from CPAN.

Here are the bugs:
- latest Mason is different.... webmux.pl needs to declare $m
  and files_written is missing?

- webrt/Search/Bulk.html contains a newline in name

Cheers

Leif
-------------- next part --------------
Index: bin/webmux.pl
===================================================================
RCS file: /raid/cvsroot/rt/bin/webmux.pl,v
retrieving revision 1.3
diff -u -r1.3 webmux.pl
--- bin/webmux.pl	2002/06/26 19:19:06	1.3
+++ bin/webmux.pl	2002/07/12 15:02:19
@@ -41,7 +41,7 @@
 
 {  
 	    package HTML::Mason::Commands;
-	    use vars qw(%session);
+	    use vars qw(%session $m);
 	  
 	    use RT; 
 	    use RT::Ticket;
@@ -113,8 +113,9 @@
 chown (Apache->server->uid, Apache->server->gid, 
 		[$RT::MasonSessionDir]);
 
-chown (Apache->server->uid, Apache->server->gid, 
-		$interp->files_written);
+# Bug
+#chown (Apache->server->uid, Apache->server->gid, 
+#		$interp->files_written);
 
 # Die if WebSessionDir doesn't exist or we can't write to it
 
Index: webrt/Search/Bulk.html
===================================================================
RCS file: /raid/cvsroot/rt/webrt/Search/Bulk.html,v
retrieving revision 1.3
diff -u -r1.3 Bulk.html
--- webrt/Search/Bulk.html	2002/06/26 19:09:04	1.3
+++ webrt/Search/Bulk.html	2002/07/12 15:02:19
@@ -173,8 +173,7 @@
      ProcessUpdateMessage(TicketObj => $Ticket, ARGSRef => \%ARGS, Actions => \
 @updateresults); 
     } 
-    my @tempresults = (@watchresults, @basicresults, @dateresults, @updateresul
-ts);
+    my @tempresults = (@watchresults, @basicresults, @dateresults, @updateresults);
     @tempresults = map { "Ticket ".$Ticket->Id. ": ".$_ } @tempresults;
 
     


More information about the Rt-devel mailing list