maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Gerodolle (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSITE-270) site.xml: menus inherited that should not
Date Mon, 30 Jun 2008 15:34:27 GMT

    [ http://jira.codehaus.org/browse/MSITE-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139982#action_139982
] 

Anne Gerodolle commented on MSITE-270:
--------------------------------------

I have just tried the site-inherit-bug example with 2.0-beta-7-SNAPSHOT AND with the release
candidate , and I obtained a "nullpointer exception" in doxia PathUtils.getRelativePath .
we tried on 2 different machines : Linux and Windows and obtained the same problem.
2.0-beta-6 does not crash .

I have also tried a simpler example that does not crash, and I observed that menus that should
get inherited are not (whereas with 2.0-beta-6 menus were inherited that shouldnot !) .




> site.xml: menus inherited that should not
> -----------------------------------------
>
>                 Key: MSITE-270
>                 URL: http://jira.codehaus.org/browse/MSITE-270
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: inheritance, site descriptor
>    Affects Versions: 2.0-beta-6
>            Reporter: Jörg Hohwiller
>         Attachments: site-inherit-bug.zip
>
>
> I have a project with multiple levels of modules.
> In the toplevel project I declare a site-descriptor with some general menu's that have
no inherit attribute (I also tried inherit='none') together with 
>     <menu ref="parent" inherit="top"/>
>     <menu ref="modules" inherit="bottom"/>
>     <menu ref="reports" inherit="bottom"/>
> Now a module of the toplevel project that itself has modules declares a site-descriptor
with an additional regular menu that is inherited.
> However the site of that module contains the menus from the toplevel project that are
NOT declared to be inherited.

-- 
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

       

Mime
View raw message