Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: relative links
-
Labels:None
-
Number of attachments :
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.
Issue Links
| This issue duplicates: | ||||
| MSITE-159 | Absolute URI rendered as relative URI if absolute URI related to domain of POM URI |
|
|
|
This is the current behavior of the site-plugin.