Re: DBIx::ContextualFetch trouble

[prev] [thread] [next] [Date index for 2004/12/27]

From: Gabor Szabo
Subject: Re: DBIx::ContextualFetch trouble
Date: 13:50 on 27 Dec 2004
On Mon, 27 Dec 2004, Tony Bowden wrote:

> I've removed the ->execute from this function, and done that in-place in
> the tests that need it.
>
> 1.02 is on its way to CPAN now.
>
> If that doesn't help, I'll have to find some way to replicate the
> problem.

Hi Tony,

I tested 1.02 and now it passes without an error. It's a pity you did not
include the other tests I sent you. Anyway, this is only hiding the real
issue as deep down somewhere there is a problem: (maybe DBI, I am not
sure).


CDBI still produces the same warnings and even gives an
error message. (This latter is I think due to catching Warnings
and getting too many of them).

the Warnings:

t/01-columns..........ok
t/02-Film.............ok 32/90Use of uninitialized value in subroutine 
entry at /home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm 
line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.
t/02-Film.............ok


And without Harness you can see it is after ok 32


ok 29 - Correct title
ok 30 -  and Director
ok 31 -  and Rating
ok 32 -  and sheep
Use of uninitialized value in subroutine entry at 
/home/gabor/perl/maxi/lib/site_perl/5.8.6/DBIx/ContextualFetch.pm line 51.


And the error is in  t/07-Move.t
....
# Looks like you planned 23 tests but ran 10 extra.


(with 15 deprecated warnings)



BTW as a side note, I am playing with Devel::Cover and a few modules
on CPAN and generated the coverage report for them.

I managed to cover all of the prerequisites of CDBI and once I can
get CDBI test cleanly I'll include it too.
You might want to take a look at the results.
http://www.szabgab.com/cover/

Gabor

(message missing)

DBIx::ContextualFetch trouble
Gabor Szabo 10:37 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Tony Bowden 11:07 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Gabor Szabo 11:31 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Gabor Szabo 13:50 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Tony Bowden 14:25 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Gabor Szabo 14:39 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Tony Bowden 14:42 on 27 Dec 2004

MySQL fulltext search
13:53 on 28 Dec 2004

Re: DBIx::ContextualFetch trouble
Gabor Szabo 14:54 on 27 Dec 2004

Re: DBIx::ContextualFetch trouble
Tony Bowden 15:57 on 27 Dec 2004

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52