[CDBI] has_many self reference
Matt S Trout
dbix-class at trout.me.uk
Wed Mar 1 15:30:21 GMT 2006
On Wed, Mar 01, 2006 at 03:07:59PM +0000, Aaron Trevena wrote:
> On 07/02/06, Perrin Harkins <perrin at elem.com> wrote:
> > Hunter Thomas wrote:
> > > Sad to say, fixing this was easy by switching to DBIx::Class. I didn't
> > > have to deal with any of the hours of attempted debugging to get a
> > > seemingly simple relation to function, it just worked as soon as I
> > > defined it. Sorry to be negative about a mature package on it's own
> > > list, but that's how I solved it for myself.
> > Class::DBI::AutoLoader actually looks more like an abandoned package
> > than a mature one, given that the last update was two and a half years
> > ago. It looks like people stopped using it in favor of Class::DBI::Loader.
> I believe this problem occurs in C::DBI rather than in or because of
> AutoLoader.. There is a bug on rt (
> http://rt.cpan.org/Public/Bug/Display.html?id=3305 ) describing a very
> similar problem to what I have, with this same error message.
This sort of stuff has broken, unbroken and re-broken a couple times now.
A couple of early DBIx::Class users turned up specifically because of this,
and we have a test against both core and CDBICompat to ensure it stays
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the ClassDBI