Re: DBIx::ContextualFetch trouble
[prev]
[thread]
[next]
[Date index for 2004/12/27]
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)
|