Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 12384
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: dave [...] riverside-cms.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.09
Fixed in: 2.10



Subject: Bug in setup_database
In Maypole::Model::CDBI::setup_database(), extra options for Class::DBI::Loader::new() need to be dereferenced: $ diff -u CDBI.pm MyCDBI.pm --- CDBI.pm Wed Apr 13 12:11:40 2005 +++ MyCDBI.pm Wed Apr 13 12:12:33 2005 @@ -236,7 +236,7 @@ dsn => $dsn, user => $u, password => $p, - options => $opts, + %$opts, ) ); $config->{classes} = [ $config->{loader}->classes ];
[DAVEBAIRD - Fri Apr 22 20:39:55 2005]: Show quoted text
> In Maypole::Model::CDBI::setup_database(), extra options for > Class::DBI::Loader::new() need to be dereferenced: > > $ diff -u CDBI.pm MyCDBI.pm > --- CDBI.pm Wed Apr 13 12:11:40 2005 > +++ MyCDBI.pm Wed Apr 13 12:12:33 2005 > @@ -236,7 +236,7 @@ > dsn => $dsn, > user => $u, > password => $p, > - options => $opts, > + %$opts, > ) > ); > $config->{classes} = [ $config->{loader}->classes ];
fixed in SVN