HTML::FormHandler::Model::DBIC 0.23 tests fail with DBIx::Class > 0.082009

38 views
Skip to first unread message

Kevin Monceaux

unread,
Apr 24, 2013, 6:18:44 PM4/24/13
to HTML::FormHandler Mailing List
With DBIx::Class 0.082009 HTML::FormHandler::Model::DBIC 0.23's tests are
successful. With DBIx::Class 0.08209_01 and 0.08210 several
HTML::FormHandler::Model::DBIC tests fail with Undefined subroutine
&DBI::SQL_INTEGER errors. Test output with DBIx::Class 0.082009_01:

******************************** Test Output ********************************

PERL_DL_NONLAZY=1 /home/dokpm0/VirtualEnvironments/perl5/perlbrew/perls/perl-5.16.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/xt/*.t
t/01app.t ............. ok
t/author.t ............ ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/bad_item_id.t line 44.
END failed--call queue aborted at t/bad_item_id.t line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/bad_item_id.t .......
Dubious, test returned 22 (wstat 5632, 0x1600)
All 1 subtests passed
t/book.t .............. ok
t/datetime.t .......... ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
t/db_fif.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
t/db_has_many.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
t/db_has_one.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/db_init_obj.t ....... ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/db_options.t ........
Dubious, test returned 255 (wstat 65280, 0xff00)
All 4 subtests passed
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/db_validate.t line 17.
END failed--call queue aborted at t/db_validate.t line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/db_validate.t .......
Dubious, test returned 22 (wstat 5632, 0x1600)
All 3 subtests passed
t/dbic_accessor.t ..... ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/fif.t line 21.
END failed--call queue aborted at t/fif.t line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/fif.t ...............
Dubious, test returned 22 (wstat 5632, 0x1600)
All 4 subtests passed
t/generator.t ......... skipped: Template
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/model_dbic.t line 69.
END failed--call queue aborted at t/model_dbic.t line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/model_dbic.t ........
Dubious, test returned 22 (wstat 5632, 0x1600)
All 2 subtests passed
t/mult_pk.t ........... ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/process.t line 38.
END failed--call queue aborted at t/process.t line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/process.t ...........
Dubious, test returned 22 (wstat 5632, 0x1600)
All 5 subtests passed
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/reflect.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
All 4 subtests passed
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
Can't call method "delete" on an undefined value at t/related.t line 88.
END failed--call queue aborted at t/related.t line 233.
t/related.t ...........
Dubious, test returned 22 (wstat 5632, 0x1600)
No subtests run
t/release-eol.t ....... skipped: these tests are for release candidate testing
t/release-no-tabs.t ... skipped: these tests are for release candidate testing
t/reload_options.t .... ok
t/resultset.t ......... ok
t/unique-composite.t .. ok
Undefined subroutine &DBI::SQL_INTEGER called at /home/dokpm0/.perlbrew/libs/perl-5.16.2@FormHandlerTest/lib/perl5/DBIx/Class/Storage/DBI/SQLite.pm line 233.
# Tests were run but no plan was declared and done_testing() was not seen.
t/unique.t ............
Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed
t/xt/02pod.t .......... skipped: Test::Pod 1.14 required
t/xt/dump.t ........... skipped: Set HFH_DUMP_TEST to run this test

Test Summary Report
-------------------
t/bad_item_id.t (Wstat: 5632 Tests: 1 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/db_fif.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/db_has_many.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/db_has_one.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/db_options.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/db_validate.t (Wstat: 5632 Tests: 3 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/fif.t (Wstat: 5632 Tests: 4 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/model_dbic.t (Wstat: 5632 Tests: 2 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/process.t (Wstat: 5632 Tests: 5 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/reflect.t (Wstat: 65280 Tests: 4 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/related.t (Wstat: 5632 Tests: 0 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/unique.t (Wstat: 65280 Tests: 2 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=27, Tests=129, 80 wallclock secs ( 0.24 usr 0.05 sys + 77.07 cusr 1.58 csys = 78.94 CPU)
Result: FAIL
Failed 12/27 test programs. 0/129 subtests failed.
make: *** [test_dynamic] Error 255

***************************** End of Test Output *****************************

Is this a DBIx::Class bug or an API change that
HTML::FormHandler::Model::DBIC needs to be updated to handle?



--

Kevin
http://www.RawFedDogs.net
http://Lassie.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.

Patrick Meidl

unread,
Apr 25, 2013, 3:18:10 AM4/25/13
to formh...@googlegroups.com, HTML::FormHandler Mailing List, Ke...@rawfeddogs.net
hi Kevin,

see this thread on the DBIx::Class mailinglist for their view on the issue:

http://lists.scsys.co.uk/pipermail/dbix-class/2013-April/011263.html

HTH

patrick

Kevin Monceaux

unread,
Apr 25, 2013, 6:29:52 PM4/25/13
to HTML::FormHandler Mailing List
Patrick,
Thanks!! I guess I should have tried the latest trial version of
DBIx::Class before posting. The fix in 0.08249_02 seems to work. Actually
I tried the latest version, 0.08249_04, and all of
HTML::FormHandler::Model::DBIC's tests pass. Hopefully that fix will make
it into the next stable DBIx::Class release.
Reply all
Reply to author
Forward
0 new messages