Skip Menu |

This queue is for tickets about the Catalyst-Model-DBIC-Schema CPAN distribution.

Report information
The Basics
Id: 47101
Status: resolved
Priority: 0/
Queue: Catalyst-Model-DBIC-Schema

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

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



Subject: Helper hangs if SQLite @connect_info has only the DSN and no user/pass
`script/tinyurl_create.pl model DB DBIC::Schema TinyURL::Schema create=static dbi:SQLite:myapp.db` hangs due to line 403 in C::H::DBIC::Schema, which reads: shift @$connect_info while $connect_info->[0] eq ''; At that point @$connect_info is empty. A patch would be to change the line to shift @$connect_info while @$connect_info and $connect_info->[0] eq ''; On a side note, perl would have warned about this if warnings weren't disabled.
Has since been fixed by you (cleaning out RT queue.)
On Wed Dec 23 01:55:17 2009, RKITOVER wrote: Show quoted text
> Has since been fixed by you (cleaning out RT queue.)
Ha, good one. Indeed, http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=10582.
Re-closing.