Relative link in inherited menu not re-based correctly
------------------------------------------------------

                 Key: MSITE-568
                 URL: http://jira.codehaus.org/browse/MSITE-568
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: inheritance, relative links, site descriptor
    Affects Versions: 2.2
            Reporter: Lukas Theussl
            Priority: Minor


If a parent project defines a project.url as <url>http://example.com/</url> and 
an inherited menu in site.xml like

{code:xml}
<menu name="Inherited" inherit="top">
  <item name="Parent Relative Home" href="index.html" />
  <item name="Parent Absolute Home" href="http://example.com/"; />
</menu>
{code}

then in the child project, the absolute URL gets correctly relativized to point 
to the parent home, but the relative link points to the current (child) index. 
It should also point to the original parent home.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to