Hello, I was able to figure out the problem.
There was a custom module: Template::Plugin::Gallery that declared $self as a global variable. I have corrected that improper usage and my issue appears to have been solved. Thanks, Lathan On Tue, Jan 13, 2015 at 3:53 PM, Lathan Bidwell <[email protected]> wrote: > I am running into a wierd bug where the Template Toolkit variables are > dirtied from template files that are not being called in the same request. > When I check the callstack, I get this: > Callers: $VAR1 = [ > 'path/to/real/page', > 'path/to/wrapper/file', > 'navigation.tt <http://nav.tt/>', > 'input text', > 'templates/external/gallery_cycle.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery_cycle.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery_cycle.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery_cycle.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'input text', > 'templates/external/gallery.html', > 'templates/external/gallery.html', > 'nav.tt', # template that is calling Asset plugin > 'Template::Plugin::Asset.pm' # Plugin that i am getting the > callstack from > ]; > > This page's content and variables randomly show up on other pages. > > Any idea on where to start debugging? I get a bit lost when delving into > the Template Context object. > > We do have a TT cache setup in /tmp/tt/, and I'm curious as to whether > updating the real files could somehow interact with the TT cache to pull > these extra 'input text' into the call stack. > > This is happening once every several minutes on my production web servers, > so any help would be appreciated. > > Lathan Bidwell >
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
