List Info

Thread: Directory listings from Document Mgmt System missing directories




Directory listings from Document Mgmt System missing directories
country flaguser name
Germany
2007-07-12 04:33:48
Hi everyone,

I am trying to list the contents of a directory in a
document mgmt
system (Xythos) which appears to be implementing WebDAV
correctly as
tests e.g. using DAVExplorer (http://www.davexplorer.org
) worked flawlessly.

What I am doing is simply a list() call on the
WebDavResource
representing the directory in question. What I get as a
result is a list
of file names within that directory, along with the
directory name
itself. However, the directories contained within that
directory are not
included in the ouput.

I have also tried using listWebdavResources() and
getChildResources() --
but without success.

Do I need to set any specific parameter to have the
sub-directories of
that directory included in the listing? Am I missing
something? I have
also played with the DepthSupport options but to no avail.

An example:
Say you have this directory structure:
Dir1
  |-- file1
  |-- file2
  +-- SubDir1
  +-- SubDir2

Ignoring the full path names, I would expect list() to
return
  { "file1", "file2",
"SubDir1", "SubDir2" }
but instead I get
  { "Dir1", "file1", "file2"
}
not necessarily in the given order.

Any help is appreciated!
Clemens

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


Re: Directory listings from Document Mgmt System missing directories
country flaguser name
Germany
2007-07-12 05:34:21
My apologies,

I see this has already been discussed in a bug report
http://issues.apache.org/bugzilla/show_bug.cgi?id=32886

and it appears that this issue has been fixed in 2.2pre1
(SVN).

Clemens

------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-2]

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