Cocoon suffers from Apache Webdav Bug #32886
--------------------------------------------
Key: COCOON-1852
URL: http://issues.apache.org/jira/browse/COCOON-1852
Project: Cocoon
Type: Bug
Components: Blocks: WebDAV
Reporter: Wolfgang Kowarschick
Priority: Critical
As of jakarta-slide-webdavlib version 2.1 the method
org.apache.webdav.lib.WebdavResource.listWebdavResources()
does, in certain circumstances, not list the children of the current resource,
but the resource itself
(see: http://issues.apache.org/bugzilla/show_bug.cgi?id=32886).
As a consequence, the method
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax
yields in certain circumstances a stack overflow:
at
org.apache.webdav.lib.WebdavResource.listWebdavResources(WebdavResource.java:2099)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:490)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
at
org.apache.cocoon.components.source.impl.WebDAVSource.resourcesToSax(WebDAVSource.java:504)
...
Moreover, due to this bug, org.apache.cocoon.generation.TraversableGenerator
does not list
the children of a WebDAV collection, but the collection istself.
Affected are all version of Cocoon that include jakarta-slide-webdavlib-2.1.jar.
A workaround seems to be to use jakarta-slide-webdavlib-2.0.jar instead.
Using the patched version jakarta-slide-webdavlib-2.2pre1.jar, on the other
hand, seems not to solve those problems.
--
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.atlassian.com/software/jira