プロジェクト

全般

プロフィール

Vote #80115

完了

Undefined local variable sender_email in MailHandler#receive_message_reply

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
150
issue_org_id:
31503
author_id:
16879
assigned_to_id:
332
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
149
ステータス-->[Closed]

説明

When receiving a reply to a locked topic, mail handler crashes with the following error:

  undefined local variable or method `sender_email' for #
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"

journals

Attaching patches to fix the issue.
--------------------------------------------------------------------------------
Committed the patch to the trunk. Thank you for reporting this issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリEmail receiving_29 にセット
  • 対象バージョン3.4.11_150 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0