Defect #31503
Undefined local variable sender_email in MailHandler#receive_message_reply
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Email receiving | |||
Target version: | 3.4.11 | |||
Resolution: | Fixed | Affected version: | 3.4.10 |
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"
Associated revisions
Fix "Undefined local variable sender_email" error in MailHandler#receive_message_reply when receiving a reply to a locked topic (#31503).
Patch by Go MAEDA.
History
#1
Updated by Go MAEDA over 1 year ago
- File fix-31503-trunk.diff
added
- File 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.
#2
Updated by Go MAEDA over 1 year 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.
#3
Updated by Go MAEDA over 1 year ago
- Status changed from Resolved to Closed