You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2011/08/18 14:27:32 UTC
[jira] Issue Comment Edited: (MSITE-608) aggregating breadcrumb
behavior disappears in the presence of a menu in the parent
[ https://jira.codehaus.org/browse/MSITE-608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=276349#comment-276349 ]
Benson Margulies edited comment on MSITE-608 at 8/18/11 7:26 AM:
-----------------------------------------------------------------
THis morning, adding and subtracting the menu has no effect, but I still don't have enough breadcrumbs.
Let me try again to explain what I think I'm complaining about:
PARENT: site.xml defines one breadcrumb.
CHILD: site.xml defines no breadcrumbs.
What I expect in breadcrumbs.
PARENT: defined breadcrumb plus local project name.
CHILD: defined breadcrumb from parent site.xml, another breadcrumb for the parent, local project tag ('About') as static text.
What I get:
CHILD: defined breadcrumb from parent site, local project tag as static text.
I'm sure that, with some variation on this stuff, I got what I expected in the test case.
{code}
<div id="breadcrumbs">
<div class="xleft">
<span id="projectVersion">Version: 1-SNAPSHOT</span>
| <a href="http://maven.apache.org" class="externalLink" title="Maven">Maven</a>
>
<a href="./" title="Breadcrumb TC Module">Breadcrumb TC Module</a>
>
About
</div>
{code}
and without the menu, I get an additional one for the parent.
was (Author: bmargulies):
Hmm. For me, with the menu, I get one breadcrumb to '.' in the child:
{code}
<div id="breadcrumbs">
<div class="xleft">
<span id="projectVersion">Version: 1-SNAPSHOT</span>
| <a href="http://maven.apache.org" class="externalLink" title="Maven">Maven</a>
>
<a href="./" title="Breadcrumb TC Module">Breadcrumb TC Module</a>
>
About
</div>
{code}
and without the menu, I get an additional one for the parent.
> aggregating breadcrumb behavior disappears in the presence of a menu in the parent
> ----------------------------------------------------------------------------------
>
> Key: MSITE-608
> URL: https://jira.codehaus.org/browse/MSITE-608
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: multi module
> Affects Versions: 3.0
> Reporter: Benson Margulies
> Attachments: site-breadcrumb-inheritance.jar
>
>
> This may turn out to belong in Doxia. I don't know.
> The attached project consists of an aggregating project and its module. The breadcrumbs in the module are, I claim, wrong -- they lack the breadcrumb to visit the parent.
> If you remove this menu:
> {code}
> <menu name="tc">
> <item name="Home" href="index.html"/>
> </menu>
> {code}
> from the parent's src/site/site.xml, all is well. Once it's here, the parent-level breadcrumb is omitted.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira