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:37:32 UTC

[jira] Updated: (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:all-tabpanel ]

Benson Margulies updated MSITE-608:
-----------------------------------

    Comment: was deleted

(was: 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>
        &gt;
                              <a href="./" title="Breadcrumb TC Module">Breadcrumb TC Module</a>
        &gt;
    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