Defect #9788
openRevisions not linkified in email notifications anymore
0%
Description
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.
Files
Updated by Jean-Philippe Lang almost 13 years ago
What are review links exactly?
Updated by Bruno Medeiros almost 13 years ago
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.
Updated by Etienne Massip almost 13 years ago
- Resolution set to Cant reproduce
I'm not able to reproduce in any way, do you have plugins installed?
Updated by Bruno Medeiros almost 13 years ago
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.
Updated by Bruno Medeiros about 12 years ago
- File review-with-link.txt review-with-link.txt added
- File review-without-link.txt review-without-link.txt added
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:
<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>
not linkified:
<p>Aplicado no changeset r45987.</p>
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.
Updated by Jean-Philippe Lang about 12 years ago
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 ?
Updated by Bruno Medeiros about 12 years ago
It's using async method. Here follows my configuration:
# 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: **********