You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2003/08/20 14:05:20 UTC

DO NOT REPLY [Bug 22585] New: - WebdavResource listWebdavResources reports not existing resources.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22585>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22585

WebdavResource listWebdavResources reports not existing resources.

           Summary: WebdavResource listWebdavResources reports not existing
                    resources.
           Product: Slide
           Version: Nightly
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: dan@sync.ro


Let's consider a webdav resource, a collection A (/a). I am trying to list its
children. It contains B(/a/b) and C(/a/c).

Normally, the listWebdavResources would return a list containing /a/b and /a/c.
The problem is that it returns 3 children, including itself (!) with the path
/a/a. I tried to check if this resource exists using the method "exists", but it
returns "true". I then tried to filter the first child resource having the same
name as A, but it also erases eventual chidren that have the same name. It looks
like the children are stored in a hash, indexed by their names.

Is there a workaround for this?