[Rt-commit] r7224 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Mar 13 08:46:31 EDT 2007


Author: ruz
Date: Tue Mar 13 08:46:28 2007
New Revision: 7224

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/autohandler

Log:
 r4733 at cubic-pc:  cubic | 2007-03-13 15:41:57 +0300
 * workaround problems on a cold server


Modified: rt/branches/3.7-EXPERIMENTAL/html/autohandler
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/autohandler	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/autohandler	Tue Mar 13 08:46:28 2007
@@ -61,6 +61,12 @@
     $m->autoflush( $m->request_comp->attr('AutoFlush') );
 }
 
+# XXX: on a cold server (just after restart) people could have a principal object
+# in the session, as we deserialize it so we never call constructor of the principal
+# class, so the list of accessible fields is empty and we die with "Method xxx is
+# not implemented in RT::Principal"
+{ my $tmp = RT::Principal->new( $RT::SystemUser ) }
+
 %ARGS = map {
 
     # if they've passed multiple values, they'll be an array. if they've


More information about the Rt-commit mailing list