[rt-users] How to customize in local/lib
Thomas Sibley
trs at bestpractical.com
Thu Jan 31 12:41:55 EST 2013
On 01/31/2013 09:36 AM, Raed El-Hames wrote:
> Thanks Thomas, I will use Local from now on .. Is Tickets.pm an
> exception though?? Just tried moving local/lib/RT/Tickets.pm to
> local/lib/RT/Tickets_Local.pm , I copied over the whole module and
> modified adding to '%FIELD_METADATA ' and to 'our %dispatch' and a
> function that I need, and now none of the searches work , including
> the home page, I get error:
>
> The 'message' parameter ("Unknown field 'UserQueueOp' in 'Status !=
> 'resolved' AND Status != 'completed' AND UserQueueOp LIKE
> '__CurrentUser__'' at /opt/rt4/sbin/../lib/RT/Tickets_SQL.pm line
> 200.
>
> If I keep it as local/lib/RT/Tickets.pm , all works ok ??
Please keep messages on the list.
No, there isn't an exception for Tickets.pm. Please show the code
you're using, otherwise we can only guess.
Copying an entire .pm is really wrong.
More information about the rt-users
mailing list