On Sun, Dec 7, 2008 at 1:47 PM, Tomas Doran <[EMAIL PROTECTED]> wrote:

>
> I'm not sure if the correct fix for the lies in Catalyst, or MX::E::CAF,
> but:
>
> http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=8781
>
> is the minimal test case I've been able to produce for the breakage of the
> Catalyst::Plugin::Authentication's tests and which people still using the
> back-compat auth plugins in their apps would be seeing (if any of them were
> trying it and shouting).
>

I think it's the fact that the mk_accessor call is in BEGIN {} because the
adopt happens at compile time, but the role application within it happens at
runtime.

I am giving this a wontfix until I can figure out if it is even fixable. I'm
not giving up on you, though. Why is it necessary to have the accessors
created at BEGIN time?

I'll experiment with having the role consumption happen in a BEGIN block,
but I don't know what the deal will be with it. I'll keep you all posted.

-- 
Guillermo Roditi (groditi)
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to