[Catalyst] Can't get last insert id

John Napiorkowski jjn1056 at yahoo.com
Sat Jul 22 18:19:40 CEST 2006


I know you probably just cut and paste from the tutorial, but I think if you attached the controller in question if might help someone spot the problem.  It could be some small thing in the code someplace.

--john

----- Original Message ----
From: Ben Hopkins <hopkins.ben at gmail.com>
To: catalyst at lists.rawmode.org
Sent: Saturday, July 22, 2006 6:18:27 PM
Subject: [Catalyst] Can't get last insert id

I'm running through the tutorial, in Basic CRUD.  In the url_create routine, I went to add a book and got this error message:
 
 Caught exception in MyApp::Controller::Books->url_create "DBIx::Class::ResultSet::create(): Can't get last insert id at /home/ben/apps/MyApp/script/../lib/MyApp/Controller/Books.pm line 92"
 
 
 
 I've got Catallyst version 5.7001.  mysql version 4.1.20.
 
 Any ideas?
_______________________________________________
List: Catalyst at lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060722/224490b2/attachment.htm 


More information about the Catalyst mailing list