[Rt-commit] r7111 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html
ruz at bestpractical.com
ruz at bestpractical.com
Fri Mar 2 14:06:18 EST 2007
Author: ruz
Date: Fri Mar 2 14:06:17 2007
New Revision: 7111
Modified:
rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/autohandler
Log:
* workaround for a bug that happens during requests with an existant session
to a cold server, see also comments in the code.
Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/autohandler
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/autohandler (original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/html/autohandler Fri Mar 2 14:06:17 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