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()
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
--- 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.