#9593 closed defect (worksforme)
Missing protocol and FQDN in notification E-mail
| Reported by: | opi_at_-tv@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.12 |
| Severity: | minor | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
If a ticket is closed automatically e.g. using the phrase
this closes… or this refs…
then the E-mail send for this event contain not the full URL. It contain only the local part.
e.g. Ticket URL: </ticket/190#comment:9> the protocol and FQDN should be included to be a URL.
Attachments (0)
Change History (3)
comment:1 Changed 3 years ago by rblank
- Resolution set to worksforme
- Status changed from new to closed
comment:2 Changed 3 years ago by Jens.Langner@…
I followed the advise to set base_url in trac.conf. However, now the automatically sent emails via our "trac-post-commit-hook" stopped working. As soon as I remove base_url (make it empty) the post commit hook works again, but the TicketURL is formatted incorrectly as discussed.
comment:3 Changed 3 years ago by rblank
Can you be more precise? Is there an error message when executing the post-commit hook? Anything in the log?



You should set the [trac] base_url option.