You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been getting an issue where the recipient is nil in the after_email callback of a notification. We use deliver_later, which I realize gets called around the enqueuing of the delivery (and not explicitly after). The recipient is nil only during the after_email callback, but is present in both the database and email delivery methods.
We've been getting an issue where the recipient is nil in the
after_email
callback of a notification. We usedeliver_later
, which I realize gets called around the enqueuing of the delivery (and not explicitly after). The recipient is nil only during theafter_email
callback, but is present in both thedatabase
andemail
delivery methods.My guess is that the removal of the
@recipient
instance variable in #126 here caused an issue but haven't had a chance to fully debug yet: https://github.com/excid3/noticed/pull/126/files#diff-8d74699b16f13d2f080f755ae12faee3a7cd24dd19833cf203f97bb7278db400L74-L76We've seen this issue with 1.5.0, 1.5.1, and 1.5.2, but downgrading to 1.4.1 fixed it for us.
The rough setup of our notification classes:
The text was updated successfully, but these errors were encountered: