プロジェクト

全般

プロフィール

Vote #71058

未完了

Revisions not linkified in email notifications anymore

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

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

0%

予定工数:
category_id:
9
version_id:
0
issue_org_id:
9788
author_id:
6054
assigned_to_id:
0
comments:
8
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I recently upgraded Redmine to version 1.3 and realized that the notification emails containing review links are not linkified anymore in the email body. If you enter in the issue on Redmine the link is ok.

I was using Redmine 1.1.3 and all notification emails had linkified review links.

This is not a big deal, but it's a regression, so I'm reporting.


journals

Thanks for that.
--------------------------------------------------------------------------------
What are review links exactly?
--------------------------------------------------------------------------------
The email notification when we have a review link, something like that (don't know the message in english):

> Aplicado no changeset r38213.

The 'r38213' was linkified in previous version of Redmine, but it appears as plain text now.
--------------------------------------------------------------------------------
I'm not able to reproduce in any way, do you have plugins installed?
--------------------------------------------------------------------------------
No plugins...

I needed to re-add a repository to a project today (I changed the svn folder) and, after re-add, for this project, commits are sent linkified again. For all other projects whose repositories I added before I did the update I still have this bug, no linkified reviews.

I can reproduce it at any time on my production environment. I can provide you logs and even a login on my system (in a sandbox project), just contact me by email if you want.
--------------------------------------------------------------------------------
I've been observing this issue for a long time, and I couldn't notice any pattern. The problem seems to occur randomly.

I've just received two ticket updates, from the same user, on the same project, and one was linkified an the other wasn't. Follow the two email originals, only with some obfuscated info.

The important parts:

linkified:
<pre>
<p>Aplicado no changeset <a href=3D"http://projetos.company.com.br/projec=
ts/vsg-jv-util/repository/revisions/45988" class=3D"changeset" title=3D"G=
era=C3=A7=C3=A3o Din=C3=A2mica de classes fixes #16588 @1h">r45988</a>.</=
p>
</pre>

not linkified:
<pre>
<p>Aplicado no changeset r45987.</p>
</pre>

Is there any chance of the email is being sent before the review was inserted on the database? It's the only way I can imagine to produce this bug.
--------------------------------------------------------------------------------
Bruno Medeiros wrote:
> Is there any chance of the email is being sent before the review was inserted on the database? It's the only way I can imagine to produce this bug.

The issue is updated (and the notification sent) in a changeset's after_create callback, so the commit is already inserted in the database, but not yet committed. How is your email delivery configured ?
--------------------------------------------------------------------------------
It's using async method. Here follows my configuration:

<pre>
# default configuration options for all environments
default:
# Outgoing emails configuration (see examples above)
email_delivery:
delivery_method: :async_smtp
async_smtp_settings:
tls: false
openssl_verify_mode: 'none'
address: locapop.domain.com.br
port: 25
domain: domain.com.br
authentication: :plain
user_name: gestorproj@domain.com.br
password: **********
</pre>
--------------------------------------------------------------------------------

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

  • カテゴリEmail notifications_9 にセット

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

いいね!0
いいね!0