[Dbix-class] Unrequested insertion

Xavier Robin robin0 at etu.unige.ch
Fri Jan 26 08:41:01 GMT 2007


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.



More information about the Dbix-class mailing list