Skip Menu |

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

Report information
The Basics
Id: 24359
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-PageCache

People
Owner: Nobody in particular
Requestors: bokutin [...] cpan.org
Cc:
AdminCc:

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



Subject: Catalyst::Plugin::Cache and Catalyst::Plugin::Cache::Store::FastMmap
I use Catalyst::Plugin::Cache and Catalyst::Plugin::Cache::Store::FastMmap. Show quoted text
>> use Catalyst qw/Cache Cache::Store::FastMmap PageCache/;
I run catalyst. then [error] Caught exception in engine "metadata must be an even sized list at /Library/Perl/ 5.8.6/Catalyst/Plugin/Cache.pm line 211 I wrote patch. mbp bokutin % diff PageCache.pm.new PageCache.pm 254,260c254,255 < if (exists $c->config->{page_cache}->{no_expire}) { < $c->cache->set( "_page_cache_index", $index, < $c->config->{page_cache}->{no_expire} ); < } < else { < $c->cache->set( "_page_cache_index", $index ); < } --- Show quoted text
> $c->cache->set( "_page_cache_index", $index, > $c->config->{page_cache}->{no_expire} );
I can't speak English. sorry...
This was a bug in Catalyst::Plugin::Cache and is fixed in version 0.03 of that plugin.