[rt-users] RT::Queue::QueueNumber Unimplemented in HTML::Mason::Commands
Haspers
list at haspers.nl
Wed Jan 5 10:24:32 EST 2005
Never mind all, I had it right (Queue_Overlay.pm with _ClassAccessible) but
forgot to restart apache :) Very stupid I know :)
Thanks all for the help.
Rolph
-----Original Message-----
From: Ruslan U. Zakirov [mailto:Ruslan.Zakirov at acronis.com]
Sent: woensdag 5 januari 2005 16:14
To: Todd Chapman
Cc: Haspers; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] RT::Queue::QueueNumber Unimplemented in
HTML::Mason::Commands
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