[Dbix-class] svn trunk rev. 5064 - Insert fails when using load_namespaces

Matt S Trout dbix-class at trout.me.uk
Sat Nov 15 20:06:41 GMT 2008


On Thu, Nov 06, 2008 at 03:23:56PM +0100, Zbigniew Lukasiak wrote:
> I am attaching a test case.  It is a full tar - because I think it
> only happens when using load_namespaces.
> 
> zl at perl:~/progs/fails_at_insert> perl fails_at_insert.pl
> DBIx::Class::Row::insert(): DBSchema::Result::User=HASH(0x8ab21d8)
> isn't a User at fails_at_insert.pl line 15

I think you're passing 'User' instead of 'DBSchema::Result::User' to a
relationship definition somewhere. That's never worked properly.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the DBIx-Class mailing list