Edgewall Software
Modify

Opened 18 months ago

Closed 17 months ago

Last modified 17 months ago

#13504 closed defect (cantfix)

Intertrac doesn't work from sub-level wiki pages only from tickets and top-level wiki pages

Reported by: geert.linders@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.4.3
Severity: normal Keywords: Intertrac
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have a server with several trac instances. If I add an Intertrac link to a ticket or top-level wiki page, it works fine. If I add the exact same link to a sub-level wiki page, it doesn't work. I am using Trac version 1.4.3.

The set-up in trac.ini is (this is common to all trac instances):

[intertrac]
development.title = New Product Development project
development.url = ../../development
maintenance.title = Maintenance project
maintenance.url = ../../maintenance
sandbox.title = Sandbox project
sandbox.url = ../../sandbox
administration.title = Server Administration project
administration.url = ../../administration

My sites are accessed as: http://trac/development, http://trac/maintenance, http://trac/sandbox and http://trac/administration.

If I add link [[maintenance:ticket:29|29]] to a ticket, it takes me to this ticket in the other Trac instance.

If I add the exact same link to a top-level wiki page, it works fine as well.

A top-level wiki page is for instance http://trac/development/wiki/BuildSystem or http://trac/development/wiki/WikiStart.

If I add the exact same link to a sub-level wiki page, it doesn't work and I get error: No handler matched request to /maintenance/intertrac/ticket:29.

A sub-level wiki page is for instance http://trac/development/wiki/BuildSystem/Makefiles.

How can I make the Intertrac links work from all wiki pages?

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 18 months ago

Relative url can be used for url of InterTrac, but the url should be //hostname/path/to or /path/to.

comment:2 by Jun Omae, 17 months ago

Resolution: cantfix
Status: newclosed

comment:3 by geert.linders@…, 17 months ago

Changed my configuration to:

[intertrac]
development.title = New Product Development project
development.url = /development
maintenance.title = Maintenance project
maintenance.url = /maintenance
sandbox.title = Sandbox project
sandbox.url = /sandbox
administration.title = Server Administration project
administration.url = /administration

and now it works.

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'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.