Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
When defining the following menu item in site.xml, then the last menu item is not rendered properly as an absolute URL.
Its href is empty:
<menu name="Maven 2.0">
<item name="APT Format" href="format.html"/>
<item name="FAQ" href="faq.html"/>
<item name="Xdoc Example" href="xdoc.html"/>
<item name="Maven 2" href="http://maven.apache.org/maven2/"/>
</menu>
The problem seems to be rooted somewhere in $decoration.body.menus.
The problem does not occur for links!
Steps to reproduce:
- Create a new maven project using the site Archetype.
- Modify the menu section in the site.xml as shown above by adding an absolute URL.
- run mvn clean
- run mvn site
Check the absolute URL.
Attachments
Issue Links
- duplicates
-
MSITE-159 Absolute URI rendered as relative URI if absolute URI related to domain of POM URI
- Closed