Re: Lost emails!

"Sternberger, Sven" <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <[email protected]>
Hello!

I now changed some things. I switched to perl 5.24 (perlbrew) and I updated to 4.2.13
but the problem is still the same

Dec  1 12:27:40 rt-xxxx RT: [5776] Ticket 699881 created in queue 'it-xxxx' by [email protected]
Dec  1 12:27:40 rt-xxxx RT: [5776] Redundant argument in sprintf at /opt/rt4/sbin/../lib/RT/Action/Notify.pm line 130.
Dec  1 12:27:40 rt-xxxx RT: [5776] Use of uninitialized value in method with known name at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.
Dec  1 12:27:40 rt-xxxx RT: [5776] Use of uninitialized value in method with known name at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.
Dec  1 12:27:40 rt-xxxx RT: [5776] Scrip Prepare 238 died. - Can't locate object method "" via package "RT::Action::Notify" at /opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm line 1043.#012#012Stack:#012  [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:1043]#012  [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:580]#012  [/opt/rt4/sbin/../lib/RT/Action/SendEmail_Local.pm:152]#012  [/opt/rt4/sbin/../lib/RT/Action/Notify.pm:69]#012  [/opt/rt4/sbin/../lib/RT/ScripAction.pm:223]#012  [/opt/rt4/sbin/../lib/RT/Scrip.pm:637]#012  [/opt/rt4/sbin/../lib/RT/Scrips.pm:342]#012  [/opt/rt4/sbin/../lib/RT/Scrips.pm:275]#012  [/opt/rt4/sbin/../lib/RT/Ticket.pm:2607]#012  [/opt/rt4/sbin/../lib/RT/Ticket.pm:2578]#012  [/opt/rt4/sbin/../lib/RT/Ticket.pm:2648]

I don't have an idea how to track down the problem. My next try would be to replace SendEmail.pm with my SendEmail_Local.pm maybe the
customization mechanism is broken?

Best regards,

Sven

PS the actual diff /opt/rt4/lib/RT/Action/SendEmail.pm /opt/rt4/lib/RT/Action/SendEmail_Local.pm

832,838c832,839
<     $self->RecipientFilter(
<         Callback => sub {
<             return unless RT::EmailParser->IsRTAddress( $_[0] );
<             return "$_[0] appears to point to this RT instance. Skipping";
<         },
<         All => 1,
<     );
---
>     # removed for q2q
>     #$self->RecipientFilter(
>     #    Callback => sub {
>     #        return unless RT::EmailParser->IsRTAddress( $_[0] );
>     #        return "$_[0] appears to point to this RT instance. Skipping";
>     #    },
>     #    All => 1,
>     #);
---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - January 9-11 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.