On Mon, Jul 23, 2007 at 11:34:01AM +0400, Ivan Fomichev wrote: > Hello, all, > > I've got a strange result when I wrote a script, that joins a single > table twice under the same alias. Though I've managed to avoid this > problem, having assigned another alias for one of relationships, > however I think this is a bug and needs to be fixed. There is an > sample code:
Yeah, it's a bug. Could you file on rt.cpan please? Note that whatever you end up calling your rels I'd advise plural names for has_many rels for clarity - so 'people' rather than 'person' (I actually think 'members' is a better name anyway, albeit I can't use that in the test case :) -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director Want a managed development or deployment platform? Shadowcat Systems Ltd. Contact mst (at) shadowcatsystems.co.uk for a quote http://chainsawblues.vox.com/ http://www.shadowcatsystems.co.uk/ _______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.org/