forrest-dev mailing list archives

Lorenz Froihofer wrote:
> It seems that I do not have enough permissions to create a new issue in
> the issue tracker. The description for the patch follows:
>
> If you do a "forrest seed" and "forrest site" in a new directory, the
> following bug is present.
>
> Select 1st level tab Samples, afterwards select 2nd level tab "Index".
> Notice that now the 1st level tab "Home" is selected instead of "Samples".
>
> The attached patch fixes this issue.
However it adds an extra "Index" item into the menu.
Omitting the "@label" attribute from the new <index> entry
also "fixes" the issue, but it collapses the Sample menu.
This need for an <index> entry in site.xml might be a
symptom of some other bug.
> Note that there are some other failures during the build of a fresh site
> with "forrest site".
What "other" are you referring to?
I can only see the "samples/ext:dtd-docs" failure
which we think is due to:
http://issues.cocoondev.org/browse/FOR-284
--David
> Kind regards,
> Lorenz Froihofer.
>
> Index: src/core/fresh-site/src/documentation/content/xdocs/site.xml
> ===================================================================
> --- src/core/fresh-site/src/documentation/content/xdocs/site.xml (revision 47281)
> +++ src/core/fresh-site/src/documentation/content/xdocs/site.xml (working copy)
> @@ -38,6 +38,7 @@
> </about>
>
> <samples label="Samples" href="samples/" tab="samples">
> + <index label="Index" href="index.html" />
> <sample label="Apache doc v2.0" href="sample.html"
> description="A nonsense document using all possible elements in the current document
v2.0">
> <top href="#top"/>