[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-763-g3b4e401
Shawn Moore
sartak at bestpractical.com
Tue Sep 14 21:49:52 EDT 2010
The branch, 3.9-trunk has been updated
via 3b4e4017ce519df4df3fd94c249f08c47941e44d (commit)
from a8da8712bfd29fcaeb633a85d52c82ff74c31223 (commit)
Summary of changes:
lib/RT/Interface/Web/Handler.pm | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 3b4e4017ce519df4df3fd94c249f08c47941e44d
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Sep 14 21:22:43 2010 -0400
Clean up the RT::System attribute cache every request
diff --git a/lib/RT/Interface/Web/Handler.pm b/lib/RT/Interface/Web/Handler.pm
index f40f059..f0b3dd7 100644
--- a/lib/RT/Interface/Web/Handler.pm
+++ b/lib/RT/Interface/Web/Handler.pm
@@ -222,6 +222,11 @@ sub CleanupRequest {
%RT::Ticket::MERGE_CACHE = ( effective => {}, merged => {} );
+ # RT::System persists between requests, so its attributes cache has to be
+ # cleared manually. Without this, for example, subject tags across multiple
+ # processes will remain cached incorrectly
+ delete $RT::System->{attributes};
+
# Explicitly remove any tmpfiles that GPG opened, and close their
# filehandles.
File::Temp::cleanup;
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list