Skip Menu |

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

Report information
The Basics
Id: 28856
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Session

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

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



Subject: Incompatibility with Catalyst-Runtime-5.7008
Dear maintainer; In Catalyst-Runtime-5.7008, Catalyst changed its bahaviour to load plugins with Catalyst::Utils::ensure_class_loaded() forcefully. This means it ``require''s real module files. In this situation, inside-package-declared plugin modules are not successfully loaded automatically (DIED). So, t/06_finalize.t and tests for C::P::Session::Store::* are broken. I have no idea which module (Catalyst::Runtime or C::P::Session) owes the responsibility. Following patches are not in smart way, but worked fine for me. Regards; --- lib/Catalyst/Plugin/Session/Test/Store.pm.orig 2006-08-27 02:24:45.0000 00000 +0900 +++ lib/Catalyst/Plugin/Session/Test/Store.pm 2007-08-16 21:25:05.000000000 +0 900 @@ -30,6 +30,7 @@ { package Catalyst::Plugin::SessionStateTest; use base qw/Catalyst::Plugin::Session::State/; + $INC{'Catalyst/Plugin/SessionStateTest.pm'} = 'DUMMY'; no strict 'refs'; --- t/06_finalize.t.orig 2007-07-16 18:45:17.000000000 +0900 +++ t/06_finalize.t 2007-08-16 21:24:18.000000000 +0900 @@ -17,6 +17,7 @@ { package TestPlugin; + $INC{'TestPlugin.pm'} = 'DUMMY'; sub finalize_session { $finalized = 1 }
This was a Catalyst bug, fixed in 5.7010