[rt-users] Problems with _Local.pm overlays
Matt Pounsett
matt.pounsett at cira.ca
Thu Jun 16 13:21:38 EDT 2005
Following the archived discussion about extending the available
ticket statuses, I've attempted to modify @RT::Queue::ACTIVE_STATUS
and @RT::Queue::INACTIVE_STATUS to add my custom status(es). The
instructions I'm using are these
http://marc.theaimsgroup.com/?l=rt-users&m=108206010610834&w=2
and these
http://wiki.bestpractical.com/index.cgi?CustomStatuses
However, I have so far been unable to get the list of ticket statuses
to change. Here's what I've done:
Created Queue_Local.pm, with these four lines:
--
@ACTIVE_STATUS = qw(new open stalled testing);
@INACTIVE_STATUS = qw(resolved rejected deleted);
@STATUS = (@ACTIVE_STATUS, @INACTIVE_STATUS);
1;
--
I originally placed it in /usr/local/rt3/local/lib/RT/Queue_Local.pm,
then restarted the web server to make sure mod_perl didn't cache the
code (as it can do). The new status "testing" did not appear when
trying to add or modify tickets. So, I've also tried creating files
at the following paths:
/usr/local/rt3/local/lib/Queue_Local.pm
/usr/local/rt3/local/lib/RT/Queue_Overlay.pm
/usr/local/rt3/lib/RT/Queue_Local.pm
So far, nothing has worked. Are the instructions I cited above still
relevant? I know that sometimes the code changes without the
documentation being updated. Or, am I just missing something? This
seems like it should be fairly simple, so I'm a bit surprised that it
didn't "just work."
Thanks for any guidance anyone can provide.
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050616/cc180e78/attachment.sig>
More information about the rt-users
mailing list