----- Original Message ----
From: John Siracusa <[EMAIL PROTECTED]>

> I can't reproduce this error with similarly (as far as I can tell)
> structured relationships.  Can you send me a self-contained example with
> table and class definitions that reproduces the problem (by private email if
> you want).

I have attached a very stripped down version of the problem.  It's about as 
small a completely self-contained test case as I can generate.  I stripped it 
down quickly (including removing POD), so it might look ugly in spots.  It's a 
regular distribution, so a typical build should work.  Since it's a quick hack, 
it's rather *nix centric and assumes that you have sqlite3 installed.  Let me 
know if there's a problem.

Cheers,
Ovid

tar zxvf Model-undef.tar.gz
[snip]
cd Model-undef/
Model-undef $ perl Makefile.PL && make && make test
Checking if your kit is complete...
Looks good
WARNING: Setting VERSION via file 'lib/Model.pm' failed
 at /usr/local/share/perl/5.8.8/ExtUtils/MakeMaker.pm line 501
WARNING: Setting ABSTRACT via file 'lib/Model.pm' failed
 at /usr/local/share/perl/5.8.8/ExtUtils/MakeMaker.pm line 513
Writing Makefile for Model
cp lib/Server/Dedicated.pm blib/lib/Server/Dedicated.pm
cp lib/Server/Dedicated/Suspended.pm blib/lib/Server/Dedicated/Suspended.pm
cp lib/Model/Object.pm blib/lib/Model/Object.pm
cp lib/Model.pm blib/lib/Model.pm
cp lib/Model/Object/Metadata.pm blib/lib/Model/Object/Metadata.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/suspended....ok 1/0No foreign key named 'suspended' at 
/usr/local/share/perl/5.8.8/Rose/DB/Object.pm line 539
        eval {...} called at /usr/local/share/perl/5.8.8/Rose/DB/Object.pm line 
478
        Rose::DB::Object::save('Server::Dedicated=HASH(0x8152c28)') called at 
lib/Server/Dedicated.pm line 47
        Server::Dedicated::unsuspend('Server::Dedicated=HASH(0x8152c28)') 
called at t/suspended.t line 50
 at t/suspended.t line 50
# Looks like your test died just after 14.
t/suspended....dubious                                                       
        Test returned status 255 (wstat 65280, 0xff00)
        after all the subtests completed successfully
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/suspended.t  255 65280    14    0  ??
Failed 1/1 test scripts. 0/14 subtests failed.
Files=1, Tests=14,  0 wallclock secs ( 0.52 cusr +  0.03 csys =  0.55 CPU)
Failed 1/1 test programs. 0/14 subtests failed.
make: *** [test_dynamic] Error 255

  
-- 
Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/



Attachment: Model-undef.tar.gz
Description: GNU Zip compressed data

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to