Skip Menu |

This queue is for tickets about the DBIx-DataModel CPAN distribution.

Report information
The Basics
Id: 39953
Status: resolved
Priority: 0/
Queue: DBIx-DataModel

People
Owner: Nobody in particular
Requestors: toddr [...] cpanel.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.04
Fixed in: 1.05



Subject: Hang during test for 1.04
Hi, I am hanging during test for the following file: prove -lvm t/DBIx-DataModel.t t/DBIx-DataModel.... 1..165 ok 1 - use DBIx::DataModel; ok 2 - Schema defined ok 3 - package DBI is already defined at t/DBIx-DataModel.t line 30 # ok 4 - Table defined ok 5 - select method defined ok 6 - primKey ok 7 - Can't locate object method "Table" via package "HR::Employee" at t/DBIx-DataModel.t line 54. # ok 8 - Association 1 ok 9 - Association 2 ok 10 - HR::MyView ISA HR::Employee ok 11 - HR::MyView ISA HR::Activity ok 12 - View inherits roles ok 13 - noUpdateColumns ok 14 - fromDB handler ok 15 - ad hoc handler ok 16 - dbh handle isa DBI::db ok 17 - empty select [-1] (SQL) ok 18 - empty select [-1] (params) ok 19 - for read only [-1] (SQL) ok 20 - for read only [-1] (params) ok 21 - like select [-1] (SQL) ok 22 - like select [-1] (params) ok 23 - implicit * [-1] (SQL) ok 24 - implicit * [-1] (params) ok 25 - order_by select [-1] (SQL) ok 26 - order_by select [-1] (params) ok 27 - column aliases [-1] (SQL) ok 28 - column aliases [-1] (params) ok 29 - fromDB handler on column alias ok 30 - distinct 1 [-1] (SQL) ok 31 - distinct 1 [-1] (params) ok 32 - distinct 2 [-1] (SQL) ok 33 - distinct 2 [-1] (params) ok 34 - group by [-1] (SQL) ok 35 - group by [-1] (params) ok 36 - -orderBy prefixes [-1] (SQL) ok 37 - -orderBy prefixes [-1] (params) ok 38 - fetch [-1] (SQL) ok 39 - fetch [-1] (params) ok 40 - select(-fetch) [-1] (SQL) ok 41 - select(-fetch) [-1] (params) ok 42 - fetch (empty string) [-1] (SQL) ok 43 - fetch (empty string) [-1] (params) ok 44 - fetch (undef) [-1] (SQL) ok 45 - fetch (undef) [-1] (params) ok 46 - first fetch_cached : go to db ok 47 - second fetch_cached : no db ok 48 - fetch_cached result ok 49 - Can't locate object method "emp_id" via package "HR::Employee" at t/DBIx-DataModel.t line 249. # ok 50 - autoload schema ok 51 - Can't locate object method "emp_id" via package "HR::Employee" at t/DBIx-DataModel.t line 255. # ok 52 - autoload table ok 53 - Can't locate object method "emp_id" via package "HR::Employee" at t/DBIx-DataModel.t line 261. # ok 54 - activities [-1] (SQL) ok 55 - activities [-1] (params) ok 56 - activities column list [-1] (SQL) ok 57 - activities column list [-1] (params) ok 58 - activities where criteria [-1] (SQL) ok 59 - activities where criteria [-1] (params) ok 60 - activities order by [-1] (SQL) ok 61 - activities order by [-1] (params) ok 62 - activities(-fetch) [-1] (SQL) ok 63 - activities(-fetch) [-1] (params) ok 64 - cached expanded values ok 65 - unbless ok 66 - combined where [-1] (SQL) ok 67 - combined where [-1] (params) ok 68 - combined where, arrayrefs [-1] (SQL) ok 69 - combined where, arrayrefs [-1] (params)
From: todd.e.rinaldo [...] jpmorgan.com
I do not know what the next test. If you can give me a hint, I can provide better debug info. Thanks,
Le Ven. Oct. 10 11:52:28 2008, todd_rinaldo a écrit : Show quoted text
> I do not know what the next test. If you can give me a hint, I can > provide better debug info. > > Thanks,
Hi Todd, Thanks for your interest in DBIx::DataModel and for the bug report. While investigating this bug I just upgraded to DBD::Mock 1.37 and this reproduced the problem. I'll try to understand in more detail what happens and will probably open a bug for the author of DBD::Mock. Meanwhile you can just downgrade to DBD::Mock 1.36 and the DBIx::DataModel tests should be OK. Best regards, L. Dami
Show quoted text
> I'll try to understand in more detail what happens and will probably > open a bug for the author of DBD::Mock. Meanwhile you can just > downgrade to DBD::Mock 1.36 and the DBIx::DataModel tests should be
OK. Show quoted text
>
As a matter of fact, the hanging problem is due to bug 37054 in DBD::Mock
Le Dim. Oct. 12 15:34:44 2008, DAMI a écrit : Show quoted text
> As a matter of fact, the hanging problem is due to bug 37054 in > DBD::Mock >
new release DBIxDM v1.05 skips the hanging test when DBD::Mock is v1.37
fixed in 1.05 (skip hanging test)