[Dbix-class] New 07999 dev release - please test

John Napiorkowski jjn1056 at yahoo.com
Tue May 29 16:21:24 GMT 2007


--- Matt S Trout <dbix-class at trout.me.uk> wrote:

> 07999_03 is at
>
http://www.trout.me.uk/perl/DBIx-Class-0.07999_03.tar.gz
> 
> complete with collapse_result and bulk_create
> branches merged back.
> 
> Please everybody grab it and test it (I'll ship it
> to CPAN shortly, just
> getting the perms ironed out so we don't get the
> 'unauthorized release'
> problem again).
> 
> I'm hoping that this will be the last dev release
> before we go RC cycle for 08.

Hmm,

I'm still getting an error for test 94versioning.t
which looks like:

t/94versioning.............................ok 1/6No
previous version found, calling deploy to install this
version.
Versions out of sync. This is 2.0, your database
contains version 1.0, please call upgrade on your
Schema.
Diff: t/var/DBICVersion-Schema-1.0-2.0-SQLite.sql:
SQLite, t/var, 2.0, 1.0 
t/94versioning.............................ok
5/6Upgrade not possible, no upgrade file found
(t/var/DBICVersion-Schema-1.0-2.000-SQLite.sql)
Can't use an undefined value as an ARRAY reference at
/home/john/Desktop/dbix-current/lib//DBIx/Class/Schema/Versioned.pm
line 184.
# Looks like you planned 6 tests but only ran 5.
# Looks like your test died just after 5.
t/94versioning.............................dubious    
                      
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 6
        Failed 1/6 tests, 83.33% okay


Seems like somethings up with the way the new version
sql file is created.  It's asking for
"t/var/DBICVersion-Schema-1.0-2.000-SQLite.sql" but I
have "t/var/DBICVersion-Schema-1.0-2.0-SQLite.sql" in
the mentioned directory.  Not sure if that's the root
of the problem.  If so there's a call in versioning.pm
to $self->VERSION which is setting that.  If someone
can give me a little guidence as to how this is
supposed to work I'll spend some time looking into it.

--john


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Dbix-class mailing list