resource.getIsHidden() returns false, even when the following returns true: Enumeration e = resource.propfindMethod("ishidden"); if (e.hasMoreElements()) isHidden = ((String) e.nextElement()).equals("1"); Which is very similar to what is in WebdavResource.java. There is also no public method resource.setIsHidden(boolean isHidden) to change this property so I am using resource.proppatchMethod.
Does anyone know something about a "ishidden" property? It's not mentioned in the WebDAV specification. Is there some server that automatically generates such a property? I guess that method should have served as the basis for the isHidden() method in WebdavFile. But in my opinion isHidden() is not applicable to a WebDAV repository in general, so it's reasonable to always return false. This means that isHidden related methods should be removed from WebdavResource. Other opinions?
Maybe it should be removed from WebdavResource. I only tried using it because it appeared here. I couldn't find any reference in the spec either.
The ishidden-property is a microsoft extension specified in the following draft: http://greenbytes.de/tech/webdav/draft-hopmann-collection-props-00.txt We should try to support the added properties in order to improve the MS Office/Webfolder interoperability. This no bug, so I adressed this to the 2.1 release