Skip Menu |
 

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

Report information
The Basics
Id: 32448
Status: resolved
Worked: 5 min
Priority: 0/
Queue: POE-Component-EasyDBI

People
Owner: GVL [...] cpan.org
Requestors: AGRUNDMA [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.23
Fixed in: (no value)



Subject: [Patch] setup_wheel should be called with call()
Download (untitled) / with headers
text/plain 200b
setup_wheel is currently called with post, so it's possible to issue a command that is processed before the wheel is actually setup, resulting in $heap->{wheel}->put(...) crashing. Patch is attached.
Subject: setup_wheel.patch
Download setup_wheel.patch
text/x-diff 323b
--- lib/POE/Component/EasyDBI.pm (revision 37) +++ lib/POE/Component/EasyDBI.pm (working copy) @@ -618,7 +625,7 @@ $kernel->alias_set($heap->{alias}) if ($heap->{alias} ne ''); # Create the wheel - $kernel->yield('setup_wheel'); + $kernel->call( $_[SESSION] => 'setup_wheel' ); return; }
Fixed in 1.24. Thank you.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.