Edgewall Software
Modify

Ticket #8059 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Server-relative links do not work correctly in one-project setup

Reported by: Mitar Owned by: rblank
Priority: normal Milestone: 0.11.4
Component: general Version: 0.11.2.1
Severity: normal Keywords:
Cc: mmitar@…
Release Notes:
API Changes:

Description

Server-relative links do not work correctly in one-project setup as it can be also seen on Trac wiki:

http://trac.edgewall.org/wiki/TracLinks#Server-relativelinks

Example link to "home" points back to /wiki/TracLinks and not to /.

Attachments

bad-link-label.png (1.2 KB) - added by Jennifer Drummond <jenn@…> 3 years ago.
From TracLinks on t.e.o.

Download all attachments as: .zip

Change History

comment:1 Changed 3 years ago by rblank

  • Milestone set to 0.11.4
  • Owner set to rblank

Good catch. I thought I had tested all variants as part of #6884, but it looks like I missed something.

comment:2 Changed 3 years ago by rblank

That was actually #4416, and it seems I did miss the [/] link ([/something] works fine).

comment:3 Changed 3 years ago by rblank

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

Fixed in [7930], by having Href('')() return '/' instead of ''.

comment:4 Changed 3 years ago by rblank

[7930] unfortunately had some unexpected side-effects (see #8153). A less disruptive fix was applied in [7988].

comment:5 Changed 3 years ago by Jennifer Drummond <jenn@…>

That bit of help on t.e.o. still seems to have a problem...shouldn't the display be

Create a new ticket home

...rather than...

newticket home

? I'll attach a screenshot of what I'm seeing.

Changed 3 years ago by Jennifer Drummond <jenn@…>

From TracLinks on t.e.o.

comment:6 Changed 3 years ago by rblank

  • Milestone changed from 0.11.4 to 0.11.5
  • Resolution fixed deleted
  • Status changed from closed to reopened

Mmh, you're right. Thanks for reporting.

comment:7 Changed 3 years ago by rblank

  • Milestone changed from 0.11.5 to 0.11.4
  • Resolution set to fixed
  • Status changed from reopened to closed

False alarm, actually the example on the TracLinks page was bad. Fixed in TracLinks@69.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from rblank. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.