forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <>
Subject [jira] Commented: (FOR-738) Structurer does not work with "site:" protocol in site.xml
Date Sun, 29 Jan 2006 17:16:01 GMT
    [ ] 

Thorsten Scherler commented on FOR-738:

If you comment following contracts everything is working fine:
<forrest:contract name="nav-main" dataURI="cocoon://#{$getRequest}.navigation.xml"/>
<forrest:contract name="nav-main-sub" dataURI="cocoon://#{$getRequest}.navigation.xml"/>
<forrest:contract name="nav-section" dataURI="cocoon://#{$getRequest}.navigation.xml">
  <forrest:property name="toc" max-depth="2"/>

All this contracts have in common that they are using *.navigation.xml.

Requesting http://localhost:8888/index.navigation.xml will lead as well to java.lang.OutOfMemoryError.

The match for this can be found in dataModel.xmap:
<!-- navigation for the current request -->
      <map:match pattern="*.navigation.xml">
        <map:aggregate element="navigation">
          <map:part src="cocoon:/tab-{1}.html" element="tab" />
          <map:part src="cocoon:/menu-{1}.html" element="menu" />
        <map:serialize />

> Structurer does not work with "site:" protocol in site.xml
> ----------------------------------------------------------
>          Key: FOR-738
>          URL:
>      Project: Forrest
>         Type: Bug
>   Components: Dispatcher (aka views)
>     Versions: 0.8-dev
>     Reporter: Ross Gardler
>     Priority: Critical

> If site.xml contains a 'site:' protocol link then the docs cannot be generated. I've
narrowed this down to the  linkrewrter which fails with a stack overflow error.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message