Skip Menu |

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

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

People
Owner: blblack [...] gmail.com
Requestors: alexchorny [...] gmail.com
Cc:
AdminCc:

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



Subject: 05testapp.t fails
ActiveState perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 SET C_M_DBIC_SCHEMA_TESTAPP=1 t\05testapp........C:\cpan\3\Catalyst-Model-DBIC-Schema-0.18\t\TestApp\lib\TestApp\Model\TestSchema.pm syntax OK syntax error at C:\cpan\3\Catalyst-Model-DBIC-Schema-0.18\t\TestApp\lib\TestApp\Model\TestSchemaDSN.pm line 12, near "''{" Bad name after AutoCommit' at C:\cpan\3\Catalyst-Model-DBIC-Schema-0.18\t\TestApp\lib\TestApp\Model\TestSchemaDSN.pm line 13. # Failed test 'perl -c C:\cpan\3\Catalyst-Model-DBIC-Schema-0.18\t\TestApp\lib\TestApp\Model\TestSchemaDSN.pm' # in t\05testapp.t at line 36. Cannot rmdir C:\cpan\3\Catalyst-Model-DBIC-Schema-0.18\t\TestApp: Permission denied at t\05testapp.t line 43. # Looks like you failed 1 test of 4. # Looks like your test died just after 4. dubious ------- Alexandr Ciornii, http://chorny.net
From: Alexandr Ciornii <alexchorny [...] gmail.com>
Reason of error is two quotes in connect_info => [ 'fakedsn', 'fakeuser', 'fakepass', ''{', 'AutoCommit', '=>', '1', '}'', ], If I replace single quotes surrounding AutoCommit with double quotes in my $test_params = [ [ 'TestSchema', 'DBIC::Schema', '' ], [ 'TestSchemaDSN', 'DBIC::Schema', q{fakedsn fakeuser fakepass '{ AutoCommit => 1 }'} ], ]; test passes. ------- Alexandr Ciornii, http://chorny.net
I've put a fix for this (Win32-specific) bug in the svn trunk, but seeing as the breakage is in an optional test that hardly anyone bothers to run (and honestly, it doesn't accomplish very much testing anyways), its not really worth a new release on its own. I'll wait to close this until the fix is released in 0.19 eventually.
Fixed in 0.20