Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#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 4 years ago by rblank

  • Resolution set to worksforme
  • Status changed from new to closed

You should set the [trac] base_url option.

comment:2 Changed 4 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 4 years ago by rblank

Can you be more precise? Is there an error message when executing the post-commit hook? Anything in the log?

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.