On Sun, May 11, 2008 at 12:06:54PM +0200, Zbigniew Lukasiak wrote:
> If you have a new object, not yet in the database, like:
> 
> $new_cd = $schema->resultset("CD")->new( {} );
> 
> Then if you call $new_cd->artist - this will return a first artist in
> the 'artist' table.

That's a bug, but the test we were given for it didn't work. Better test
case welcome and we can fix it.

-- 
      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/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to