Skip Menu |

This queue is for tickets about the CatalystX-ListFramework CPAN distribution.

Report information
The Basics
Id: 43958
Status: resolved
Worked: 15 min
Priority: 0/
Queue: CatalystX-ListFramework

People
Owner: Nobody in particular
Requestors: nonsolosoft [...] diff.org
Cc:
AdminCc:

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



Subject: depends on DBD::SQLite2 while usually DBD::SQLite is installed
DBD-SQLite2-0.33 - 10 Sep 2004 - Matt Sergeant DBD-SQLite-1.14**** (15 Reviews) - 19 Sep 2007 - Matt Sergeant Test Summary Report ------------------- t/live-test (Wstat: 7168 Tests: 29 Failed: 28) Failed tests: 2-29 Non-zero exit status: 28 Files=2, Tests=30, 8 wallclock secs ( 0.08 usr 0.00 sys + 2.63 cusr 0.20 csy s = 2.91 CPU) Result: FAIL Failed 1/2 test programs. 28/30 subtests failed. *** Error code 28 Failed during this command: MSERGEANT/DBD-SQLite2-0.33.tar.gz : make_test NO SNAFUFANS/CatalystX-ListFramework-0.5.tar.gz : make_test NO
Here there is a patch.
diff -U 1 -rB CatalystX-ListFramework-0.5.orig/Makefile.PL CatalystX-ListFramework/Makefile.PL --- CatalystX-ListFramework-0.5.orig/Makefile.PL 2008-02-14 03:05:10 +0100 +++ CatalystX-ListFramework/Makefile.PL 2009-03-09 06:30:27 +0100 @@ -9,3 +9,3 @@ build_requires 'HTML::Widget'; -build_requires 'DBD::SQLite2'; +build_requires 'DBD::SQLite'; build_requires 'Catalyst::View::JSON'; diff -U 1 -rB CatalystX-ListFramework-0.5.orig/t/lib/TestApp/Controller/Root.pm CatalystX-ListFramework/t/lib/TestApp/Controller/Root.pm --- CatalystX-ListFramework-0.5.orig/t/lib/TestApp/Controller/Root.pm 2008-01-15 21:01:38 +0100 +++ CatalystX-ListFramework/t/lib/TestApp/Controller/Root.pm 2009-03-09 06:36:18 +0100 @@ -98,3 +98,3 @@ if (-e $dbfile) { unlink $dbfile or die "Failed to unlink $dbfile: $!"; } - my $dbh = DBI->connect("dbi:SQLite2:dbname=$dbfile","",""); + my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile","",""); diff -U 1 -rB CatalystX-ListFramework-0.5.orig/t/lib/TestApp/Model/TestModel.pm CatalystX-ListFramework/t/lib/TestApp/Model/TestModel.pm --- CatalystX-ListFramework-0.5.orig/t/lib/TestApp/Model/TestModel.pm 2008-01-14 18:39:58 +0100 +++ CatalystX-ListFramework/t/lib/TestApp/Model/TestModel.pm 2009-03-09 06:34:36 +0100 @@ -8,3 +8,3 @@ schema_class => 'TestApp::Schema', - connect_info => [ "dbi:SQLite2:dbname=/tmp/__listframework_testapp.sqlite","","" ], # when running tests + connect_info => [ "dbi:SQLite:dbname=/tmp/__listframework_testapp.sqlite","","" ], # when running tests );