[rt-users] Overriding files in lib/RT?
Kenneth Marshall
ktm at rice.edu
Mon Oct 31 16:29:27 EDT 2016
On Mon, Oct 31, 2016 at 04:17:11PM -0400, Alex Hall wrote:
> Hi all,
> Thanks for the responses, it's partially working. When I use my
> Email_Local.pm, the server refuses to start, yet I have no errors. Running
> it through Perl's checker reveals only:
>
> Name "RT::Logger" used only once: possible typo at Email_Local.pm at line 31
>
> Perl says everything else is fine. I pulled the single function I wanted to
> modify out of the original Email.pm (ParseTicketId) and left it alone,
> except for changing \s+ to \s* in the "if (my $@captures" line. As usual,
> any errors that might be generated are going who knows where, so I'm not
> sure where to start looking. As I said, Perl thinks this is fine save that
> warning, but RT definitely doesn't. Any thoughts? Here's the file:
>
Hi Alex,
Try running the fcgi process by hand and look for any errors. Sometimes,
the one function you pull has dependencies on other function in the file
which means that they would need to be in the new file as well. Running
it by hand gave a useful error for me.
Regards,
Ken
More information about the rt-users
mailing list