[Dbix-class] Insert into join table succeeds but issues error
anyway
Eden Cardim
edencardim at gmail.com
Mon Apr 19 17:23:44 GMT 2010
On Thu, Apr 15, 2010 at 4:40 PM, Steve <steve at matsch.com> wrote:
> Hi,
> I'm using Catalyst along with DBIC, and I recently got this error:
>
> DBIx::Class::ResultSet::create(): DBI Exception: DBD::mysql::st execute
> failed: Cannot add or update a child row: a foreign key constraint fails
[ snip ]
> with ParamValues: 0='HASH(0xb57f080)', 1='66'] at
You're attempting to insert a hashref into the database, fix your
->create() call
--
Eden Cardim Need help with your Catalyst or DBIx::Class project?
Code Monkey http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://blog.edencardim.com/ http://www.shadowcat.co.uk/servers/
More information about the DBIx-Class
mailing list