Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
2.0.1
-
None
-
None
Description
This also appears to be broken in 2.1-SNAPSHOT as the original entry date of this JIRA. It was first discovered in 2.0, and also affects 2.0.1.
I have the following links in my site.xml. This is a multi-module project, but this affects the top-level (parent) project documentation.
<links>
<item name="Groovy" href="http://groovy.codehaus.org/COM+Scripting/.." />
<item name="Scriptom Wiki" href="http://groovy.codehaus.org/COM+Scripting" />
</links>
Here is the HTML produced:
<a href="../">Groovy</a> |
<a href="http://groovy.codehaus.org/COM+Scripting" class="externalLink">Scriptom Wiki</a>
The first link is relativized. Incorrectly. My site-distribution is:
<site>
<id>codehaus.org.snapshots</id>
<name>Groovy Website</name>
<url>dav:https://dav.codehaus.org/groovy/modules/scriptom/SNAPSHOT/${project.version}</url>
</site>
Technically, the relative path should be "../../../../..". It would have worked just fine if the HREF were "http://groovy.codehaus.org/".
Is it actually necessary to complicate the <links/> by relativizing the paths whenever possible, or would it be simpler just to pass the original HREF through unmodified?
Attachments
Issue Links
- is superceded by
-
MSITE-423 <links> item hrefs not relativised properly when inherited by child modules
- Closed