Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#478 closed defect (worksforme)

Email notification has incomplete path (missing Trac project directory)

Reported by: external+bitten.edgewall.org@… Owned by:
Priority: minor Milestone:
Component: General Version: 0.6b2
Keywords: Cc:
Operating System: Linux

Description

I've set up Bitten email notification and noticed the emails do not include the Trac project name in the URLs (changeset, build number, and project URLs).

I have a Trac site with multiple projects so between trac/ and changeset/ and build/ I expect the project name.

e.g. https://svn/trac/changeset/123 should be https://svn/trac/project/changeset/123

Is this a bug or a configuration issue?

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by osimons

I think this should work. Could you check your [trac] base_url setting?

comment:2 Changed 11 years ago by external+bitten.edgewall.org@…

You are correct, my trac.ini base_url was not set. Please close this ticket.

I would recommend adding a note to http://bitten.edgewall.org/wiki/Documentation/install.html for users of Trac in a multi-project setup to make sure they have this set.

Thanks for the great software.

comment:3 Changed 11 years ago by osimons

  • Milestone 0.6.1 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Good thing it worked out.

As for documentation, the answer is that "it depends". I run a ton of projects in multi-project setup, and don't have the setting. Trac will try to discover it from the request, and fall back on the setting if it can't recreate it. All this is already part of of various default Trac nofitication documents, mailing list threads and more - and same error should show up in ticket notifications for instance.

As it all depends on what server your run and how you have configured it, I'm not particularly keen on opening this can of worms in the Bitten documentation as well... I think I'll just leave it as-is for now.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.