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
In app/models/mailer.rb, the issue_add and issue_edit methods call the redmine_headers method. With this plugin installed, headers added by the redmine_headers method don't appear on the emails.
I'm not a Ruby person, so I can't tell if that's because issue_add/issue_edit are never called, or their return values are overwritten, but it seems like a bug?
To replicate:
Create a new issue in Redmine without the plugin installed. View the notification email's headers; they include an "X-Redmine-Project" header.
Install the plugin and create another issue. The notification email's headers no longer include the "X-Redmine-Project" header.
The text was updated successfully, but these errors were encountered:
yes, you are right. thank you.
this plugin clear headers after calling issue_add (calling is done by so called monkey-patch: alias_method_chain).
sorry cant fix immediately due to sick these days but solution would be copy redmine_headers lines just before every mail to: .. calls in plugin lib code.
I finally had a chance to test this - I was running with a patched version so I had no urgency, but I wanted to report back. This new version works great, thank you!
In
app/models/mailer.rb
, theissue_add
andissue_edit
methods call theredmine_headers
method. With this plugin installed, headers added by theredmine_headers
method don't appear on the emails.I'm not a Ruby person, so I can't tell if that's because
issue_add
/issue_edit
are never called, or their return values are overwritten, but it seems like a bug?To replicate:
The text was updated successfully, but these errors were encountered: