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 2004/05/24 20:54:54 UTC

DO NOT REPLY [Bug 29183] New: - WebdavResource.getName() should trim the prefix

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=29183>.
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=29183

WebdavResource.getName() should trim the prefix

           Summary: WebdavResource.getName() should trim the prefix
           Product: Slide
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WebDAV client
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: Robert_Flaherty@Hyperion.com


The current code cuts back to the last forward slash for the name.  In the 
case of the root resource, this can return the "/contextRoot[/servlet]" 
string.  Just as the displayName property is empty for the root, so should the 
Name be empty.  Either add special logic for this case or just always trim the 
leading "/contextRoot[/servlet]".

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org