DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32886>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32886 ------- Additional Comments From [EMAIL PROTECTED] 2006-04-11 10:59 ------- I bumped into the problem as well. 2.1 didn't work for me. A solution was to change a part of WebdavResource.setWebdavProperties after if (!itself) { String myURI = httpURL.getEscapedURI(); ... to if (!itself) { String myURI = httpURL.getEscapedURI(); final String adjustedHref = href.endsWith("/") ? href.substring(0, href.length() - 1) : href; final String name = URIUtil.getName(adjustedHref); char[] childURI = (myURI + (myURI.endsWith("/") ? "" : "/") + name).toCharArray(); the problem is that children's hrefs can end with '/' and in this case URIUtil.getName returns empty string. Because of that childURI is the same as myURI (bug!!!) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]