[Dbix-class] Unrequested insertion
Xavier Robin
robin0 at etu.unige.ch
Thu Jan 25 10:29:45 GMT 2007
On Wednesday 24 January 2007 14:35, Xavier Robin wrote:
> Hello,
>
> I'm facing a weird problem with DBIx::Class (used through Catalyst).
Well, I built a minimal catalyst application that shows this problem.
It looks like it depends on my database, because creating a new database seems
to solve the problem (but I can do a dump and restore and the problem is
still here). This is perhaps due to other relations I removed to find this
minimal test case ?
So I decided to send the application together with the database files, so it
is quite heavy (2.5 MB). If you want to test it, I uploaded it on YousendIt :
http://download.yousendit.com/67B6E841428CB109
Just start the database cluster in folder "pgdata" with postgreSQL 8.1
(pg_ctl -D pgdata start), start catalyst application
(./script/miape_server.pl) and look at the page test
(http://localhost:3000/test) to see the error. The action is in
lib/MIAPE/Root.pm. Database model is MIAPEDB. As there are only few files
left, I hope it will be easy to understand.
So I'm still stuck with this bug without understanding what happens and
without having a clue how to get rid of it. I would be really thankful if
somebody could have a look on it.
Thanks in advance,
Xavier
More information about the Dbix-class
mailing list