Subject: | C::P::Session::Store::* and C3 |
As discussed on #catalyst yesterday, there is a known issue with using
Class::C3 and Catalyst::Plugin::C3 together with the
Catalyst::Plugin::Session::Store::File and ::FastMmap plugins.
mst suggested changing the order in @INC of Class::Data::Inheritable and
Class::Accessor::Fast. That fixed is. Below is the (simple) patch.
[NOTE I did not try the other Store::* plugins to see if they are also
affected, but I imagine they would be if their @INC is in a similar order.]
---
/home/msi/pek/perl/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Session/Store/FastMmap.pm
2007-07-01 18:03:38.000000000 -0500
+++ lib/Catalyst/Plugin/Session/Store/FastMmap.pm 2007-10-12
07:49:34.342275000 -0500
@@ -2,8 +2,8 @@
use strict;
use base qw/
- Class::Data::Inheritable
Class::Accessor::Fast
+ Class::Data::Inheritable
Catalyst::Plugin::Session::Store/;
use NEXT;
---
/home/msi/pek/perl/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Session/Store/File.pm
2006-11-06 17:00:23.000000000 -0600
+++ lib/Catalyst/Plugin/Session/Store/File.pm 2007-10-12
07:49:24.839761000 -0500
@@ -2,8 +2,8 @@
use strict;
use base qw/
- Class::Data::Inheritable
Class::Accessor::Fast
+ Class::Data::Inheritable
Catalyst::Plugin::Session::Store
/;
use NEXT;