This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id:
13038
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
cpan_rt [...] account.loath.org
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
0.96
Fixed in:
3.0.3



Subject: Doubled column in __ESSENTIAL__ expansion
In the Film tests, columns are declared thus: __PACKAGE__->columns('Primary', 'Title'); __PACKAGE__->columns('Essential', qw( Title )); When you use the __ESSENTIAL__ transform_sql expansion, you get "title, title" rather than "title". is (Film->transform_sql("SELECT __ESSENTIAL__ FROM __TABLE__"), "SELECT title, title FROM Movies", "doubled __ESSENTIAL__ expansion");
[guest - Tue May 31 11:46:13 2005]:
Show quoted text
> In the Film tests, columns are declared thus: > __PACKAGE__->columns('Primary', 'Title'); > __PACKAGE__->columns('Essential', qw( Title )); > When you use the __ESSENTIAL__ transform_sql expansion, you get > "title, title" rather than "title".
This is because the call to ->essential was returning the column twice. This has been fixed for the next release. Thanks, Tony
Show quoted text
> > When you use the __ESSENTIAL__ transform_sql expansion, you get > > "title, title" rather than "title".
> This is because the call to ->essential was returning the column > twice. > This has been fixed for the next release.
This has been released now as 3.0.3 Thanks for your patience. Tony


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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