Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 90875 invoked from network); 22 Feb 2005 14:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Feb 2005 14:55:53 -0000 Received: (qmail 32285 invoked by uid 500); 22 Feb 2005 14:55:50 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 32206 invoked by uid 500); 22 Feb 2005 14:55:50 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 32191 invoked by uid 99); 22 Feb 2005 14:55:50 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 22 Feb 2005 06:55:48 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1MEtkXf024089 for ; Tue, 22 Feb 2005 15:55:46 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j1MEtjm5024087; Tue, 22 Feb 2005 15:55:45 +0100 Date: Tue, 22 Feb 2005 15:55:45 +0100 Message-Id: <200502221455.j1MEtjm5024087@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 33690] New: - [vfs] Webdav resource uses "displayname" instead of "name" X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=33690 Summary: [vfs] Webdav resource uses "displayname" instead of "name" Product: Commons Version: unspecified Platform: PC OS/Version: Windows 2000 Status: NEW Severity: major Priority: P2 Component: Sandbox AssignedTo: commons-dev@jakarta.apache.org ReportedBy: rickard@dreambean.com The VFS webdav provider sets the name of the file to be that of the "displayname" of the underlying WebDAV resource. The display name is often a human readable name, and not meant to be used as the path name. It would be more correct to set it to be simply the name of the file. This is done in WebdavFileObject.doListChildrenResolved which currently reads: WebdavFileObject fo = (WebdavFileObject)getFileSystem().resolveFile(getName().resolveName(dav.getDisplayName(), NameScope.CHILD)); whereas it should read: WebdavFileObject fo = (WebdavFileObject) getFileSystem().resolveFile(getName().resolveName(dav.getName(), NameScope.CHILD)); This would create a correct path. A client that would want to access the human readable name would do so by using the attributes of the file object. -- 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: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org