[rt-users] RT::Queue::QueueNumber Unimplemented in HTML::Mason::Commands

Jesse Vincent jesse at bestpractical.com
Wed Jan 5 13:28:51 EST 2005

On Wed, Jan 05, 2005 at 06:14:10PM +0300, Ruslan U. Zakirov wrote:
> Todd Chapman wrote:
> >Ruslan,
> >
> >Don't you also need to define the accessors since they are not
> >generated by the factory script? Or, do you assume the column
> factory script doesn't generate accessors. it genarates default 
> descriptions only.
> >is added before factory is run? Or, is there AUTOLOAD magic
> >that takes care of it?
> AUTOLOAD generates accessors when you call them first time. Description 
> of the field it takes from hash that _ClassAccessible sub should return.
> I didn't use factory script but AFAIKS it generates default 
> _ClassAccessible sub into Foo.pm files, but in RT most of this subs are 
> overriden in Foo_Overlay.pm files.

These days, what happens is actually that Foo.pm has a 

sub _CoreAccessible

and Foo_Overlay.pm  has a

sub _OverlayAccessible 

and RT::Record merges the two together into _ClassAccessible.

> >
> >Thanks.
> >
> >-Todd
> >
> >On Wed, Jan 05, 2005 at 01:47:12PM +0300, Ruslan U. Zakirov wrote:
> >
> >
> >>Add description of this field into sub _ClassAccessible which is defined 
> >>in Queue_Overlay.pm. Read DBIx::SearchBuilder docs and tests.
> >>
> >>But it's better to use Attributes as Todd suggested.
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> Be sure to check out the RT wiki at http://wiki.bestpractical.com


More information about the rt-users mailing list