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

Ruslan U. Zakirov Ruslan.Zakirov at acronis.com
Wed Jan 5 10:14:10 EST 2005


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.


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




More information about the rt-users mailing list