Skip Menu |

This queue is for tickets about the MooseX-POE CPAN distribution.

Report information
The Basics
Id: 67048
Status: resolved
Priority: 0/
Queue: MooseX-POE

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

Bug Information
Severity: Important
Broken in: 0.211
Fixed in: (no value)



Subject: BUILD method invoked multiple times in MooseX::POE classes
It seems that MooseX::POE currently invokes the BUILD method of a class using MooseX::POE twice -- once when the "new" method defined in MooseX::POE::Meta::Trait::Object calls meta->create_object, and another when it calls BUILDALL at the end of the method. The attached test case outputs the text "build" twice with MooseX::POE 0.211.
Subject: moosex-poe-multiple-build.pl
{ package mxp; use MooseX::POE; sub BUILD { print STDERR "build\n"; } }; { package main; use POE; my $mxp = mxp->new; POE::Kernel->run; }; 1;
Subject: Re: [rt.cpan.org #67048] BUILD method invoked multiple times in MooseX::POE classes
Date: Tue, 29 Mar 2011 17:59:08 +0200
To: bug-MooseX-POE [...] rt.cpan.org
From: Torsten Raudssus <torsten.raudssus [...] googlemail.com>
Actually there is a test for this for this, and i see that it fails right now, but as you have installed it (and me too), i would bet its a change on Moose side which brings up that bug again. But right now i'm trying to analyze it and/or find help to fix it, perigrin is sadly not available (sometimes coder also has vacation hehe). More information soon, http://www.youtube.com/watch?v=kupOnNcoIUY -- http://www.raudssus.de/
On Tue Mar 29 11:59:51 2011, torsten.raudssus@googlemail.com wrote: Show quoted text
> Actually there is a test for this for this, and i see that it fails > right now, but as you have installed it (and me too), i would bet its a > change on Moose side which brings up that bug again. But right now i'm > trying to analyze it and/or find help to fix it, perigrin is sadly not > available (sometimes coder also has vacation hehe). > > More information soon, http://www.youtube.com/watch?v=kupOnNcoIUY >
doy fixed it!