On Thursday 25 January 2007 11:50, Matt S Trout wrote: > You tried to follow a belongs_to rel. Since that's expected to always > be there, DBIC tried to create it for you when it didn't find it. > > Either your schema is broken, your foreign key constraints are > broken, or your code is broken.
That's right, I had a missing foreign key constraint. It works fine now, thank you very much ! :-) Xavier -- Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan. But that's nothing. If you play it forward it will install Windows XP. _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
