Subject: | Catalyst::Model::Adaptor fails against Catalyst 5.80 trunk |
Date: | Mon, 23 Jun 2008 23:34:12 +0100 |
To: | bug-Catalyst-Model-Adaptor [...] rt.cpan.org |
From: | Tomas Doran <bobtfish [...] bobtfish.net> |
23:03 <@t0m> http://rafb.net/p/5YGMAq29.html <- 5.80
Catalyst::Model::Adaptor fail.
23:05 <@t0m> I tried adding a use base "Catalyst::Component" also as
the exception seems to be from trying to instantiate the component,
but that craps out with
'Inconsistent hierarchy during C3 merge of class'
23:11 <@groditi> t0m: whats the error?
23:11 <@groditi> the author of adaptor is likely doing something
wrong or exploiting multiple inheritance in a non-supported way
23:13 <@t0m> Couldn't instantiate component "Test::Model::CMA", "need
class at ../blib/lib/Catalyst.pm line 1923" at script/test_server.pl
line 53
23:17 <@groditi> hmm
23:20 -!- ghenry [~ghenry@ghenry.plus.com] has quit [Remote host
closed the connection]
23:21 <@t0m> it says: sub COMPONENT { my $class = shift; my $self =
$class->next::method(@_);.. And you get back: bless( {},
'Test::Model::CMA' );, which has
lost the arguments, so it craps itself..
23:25 <@groditi> uhm yeah thats totally broken on the part of Adaptor
23:26 <@groditi> lemme take a look through svn
23:27 <@t0m> hmm, however, it's weird - as if I pull just that code
out it works..
Please fix this bug (which is, I think calling next::method when you
don't need to), as it's stopping me from testing my apps against 5.80...
Cheers
Tom