Skip Menu |
 

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

Report information
The Basics
Id: 7990
Status: new
Priority: 0/
Queue: POE-Component-UserBase

People
Owner: Nobody in particular
Requestors: vince [...] codex.net
Cc:
AdminCc:

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



Subject: DBI interface using incorrect SELECT statement
Download (untitled) / with headers
text/plain 747b
POE-Component-UserBase-0.09.tar.gz v2@vaio:~$ perl -v This is perl, v5.8.4 built for i386-linux-thread-multi v2@vaio:~$ uname -a Linux vaio 2.6.8-vaio #1 Tue Sep 14 12:57:20 BST 2004 i686 GNU/Linux Hi there, I noticed a problem using a DBI backend, in that the values specified to spawn() to define which columns are to be used for the queries are not actually used by the SELECT statement. in _read_dbi the following is set: my @fields = qw(user_name domain password persistent); I believe this should infact be: my @fields = ($heap->{UserColumn}, $heap->{DomainColumn}, $heap->{PasswordColumn}, $heap->{PersistentColumn} ); Such that the columns specified by the user are used, and not the internally hard coded default values. HTH -vince


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.