List Info

Thread: Commented: (FOR-738) Structurer does not work with "site:" protocol in site.xml




Commented: (FOR-738) Structurer does not work with "site:" protocol in site.xml
user name
2006-01-29 17:16:01
    [ http://issues.apache.org/jira/browse/F
OR-738?page=comments#action_12364387 ] 

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"/&
gt;
<forrest:contract name="nav-main-sub"
dataURI="cocoon://#{$getRequest}.navigation.xml"/&
gt;
<forrest:contract name="nav-section"
dataURI="cocoon://#{$getRequest}.navigation.xml"&g
t;
  <forrest:property name="toc"
max-depth="2"/>
</forrest:contract>

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

Requesting http://loc
alhost: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-.html"
element="tab" />
          <map:part src="cocoon:/menu-.html"
element="menu" />
        </map:aggregate>
        <map:serialize />
      </map:match>


> Structurer does not work with "site:"
protocol in site.xml
>
----------------------------------------------------------
>
>          Key: FOR-738
>          URL: http://i
ssues.apache.org/jira/browse/FOR-738
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa

-
For more information on JIRA, see:
   http://www.atl
assian.com/software/jira

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )