Re: Inheritance problem
[prev]
[thread]
[next]
[Date index for 2005/01/18]
On Tue, Jan 18, 2005 at 01:21:22PM +0200, Aleksandr Guidrevitch wrote:
> It looks like __PACKAGE__->mk_classdata('__lot_extra') in
> TAuction::Biz::Base::Lot doesn't get executed
> since it isn't available in subclasses of TAuction::Biz::Base::Lot
> (TAuction::Biz::Lot and TAuction::Biz::Lot::Delayed)
Move the call to mk_class_data to before you set up your relationships.
When you call the has_a() it will load the class referred to, at which
point your class data hasn't yet been set up.
Tony
 |
 |
Re: Inheritance problem
Tony Bowden 11:23 on 18 Jan 2005
|