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

Zbigniew Lukasiak zzbbyy at gmail.com
Sat Nov 15 20:18:51 GMT 2008


On Sat, Nov 15, 2008 at 9:06 PM, Matt S Trout <dbix-class at trout.me.uk> wrote:
> 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.

Yes - I should have sent an update.

-- 
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/



More information about the DBIx-Class mailing list