Skip Menu |

This queue is for tickets about the Catalyst-Plugin-PageCache CPAN distribution.

Report information
The Basics
Id: 71536
Status: new
Priority: 0/
Queue: Catalyst-Plugin-PageCache

People
Owner: VERISSIMO [...] cpan.org
Requestors: paul [...] itools.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: cache_finalize_hook is never called
Date: Fri, 7 Oct 2011 13:28:22 -0700
To: bug-Catalyst-Plugin-PageCache [...] rt.cpan.org
From: Paul Sarena <paul [...] itools.com>
When specifying separate methods for cache_dispatch_hook and cache_finalize_hook, only cache_dispatch_hook is called, once at dispatch and again at finalize. Catalyst-Plugin-PageCache-0.31/lib/Catalyst/Plugin/PageCache.pm line 272 within sub finalize reads: my $hook_name = $pc_config->{cache_dispatch_hook} || $pc_config->{cache_hook}; I believe it should be: my $hook_name = $pc_config->{cache_finalize_hook} || $pc_config->{cache_hook};