Actions
Defect #31503
closedUndefined local variable sender_email in MailHandler#receive_message_reply
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
When receiving a reply to a locked topic, mail handler crashes with the following error:
undefined local variable or method `sender_email' for #<MailHandler:0x0055675dfa9e10> Did you mean? send_action app/models/mail_handler.rb:289:in `receive_message_reply'
That's because receive_message_reply
is trying to use sender_email
variable, which was not defined in this method.
Here is the corresponding line (source:trunk/app/models/mail_handler.rb@18198#L277):
logger&.info "MailHandler: ignoring reply from [#{sender_email}] to a locked topic"
Files
Updated by Go MAEDA over 5 years ago
- File fix-31503-trunk.diff fix-31503-trunk.diff added
- File fix-31503-3_4.diff fix-31503-3_4.diff added
- Status changed from New to Confirmed
- Target version set to 3.4.11
- Affected version changed from 4.0.0 to 3.4.10
Attaching patches to fix the issue.
Updated by Go MAEDA over 5 years ago
- Status changed from Confirmed to Resolved
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch to the trunk. Thank you for reporting this issue.
Actions