-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Reject" link in moderation e-mail to moderators results in crash / internal server error #1703
Comments
Hi @bboyle262 , Could you please show any examples of the 'reject' link that causes problem? |
Hello @ikedas They all look like the attached. Viewing the message source, URLs are coming through in plaintext pointing to same URL as displayed in the e-mail client. |
Hi @bboyle262 , Could you please apply this patch and check if the problem will be solved? Thanks. |
The patch appears to have solved the issue. Thank you! |
I can also confirm this patch solves the problem. Thank you @ikedas ! |
Total noob here, if I want to apply this patch via the Linux patch command to what file do I apply it? Both default/web_tt2/confirm_action.tt2 and src/cgi/wwsympa.fcgi.in? Thanks |
Version
6.2.72-3.el7
Installation method
Cent7, RPM install, Mariadb, Postfix
Expected behavior
"Reject" URL in Moderation e-mail ("Message for list ... waiting to be approved") should succeed and reject the message
Actual behavior
After upgrading to latest sympa release, the 'reject' link generated by e-mails to moderators, results in the following crash / internal server error page rather than expected behavior:
"Internal Server Error
Sympa encountered an internal error.
Please contact the listmaster.
Error: Parameter $tpl is not defined at /usr/share/sympa/lib/Sympa/Message/Template.pm line 64.
Traceback
DIED: Parameter $tpl is not defined at /usr/share/sympa/lib/Sympa/Message/Template.pm line 64.
at /usr/share/sympa/lib/Sympa/Message/Template.pm line 64.
Sympa::Message::Template::new('Sympa::Message::Template', 'template', undef, 'data', HASH(0x49d70b0), 'context', Sympa::List <[email protected]>, 'rcpt', '[email protected]', ...) called at /usr/share/sympa/lib/Sympa/Spindle.pm line 42
Sympa::Spindle::new('Sympa::Spindle::ProcessTemplate', 'context', Sympa::List <[email protected]>, 'template', undef, 'rcpt', '[email protected]', 'data', HASH(0x49d70b0), ...) called at /usr/share/sympa/lib/Sympa.pm line 394
Sympa::send_file(Sympa::List [email protected]>, undef, '[email protected]', HASH(0x49d70b0)) called at /usr/libexec/sympa/wwsympa.fcgi line 7600
main::do_reject() called at /usr/libexec/sympa/wwsympa.fcgi line 1562"
Steps to reproduce
Additional information
This has been tested to occur across multiple lists, and multiple robots, on our main server. Behavior also replicated on our dev server with the same setup as listed above.
Thank you
The text was updated successfully, but these errors were encountered: