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=35005>. 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=35005 Summary: Unable to create a new folder specifying an arbitrary name Product: Slide Version: 2.1 Platform: PC OS/Version: Windows XP Status: NEW Keywords: FAQ Severity: major Priority: P2 Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I'm using Windows Explorer as a WEBDAV-Client and Jakarta Slide as a WEBDAV- Server. My WebdavServlet is invoked by "http://localhost:8082/slide/" Following scenario: I made up a network connection via Windows XP (German Version). Then I tried to create a new folder by clicking the right mouse button, via "new". After specifying the name for the folder and refreshing the Windows Explorer with F5, the display name of the folder is "New Folder", in German "Neuer Ordner". After debugging the slide code, I finally located the region, where the display name for folders was implemented. It is in the file "ContentImpl.java", in the package "org.apache.slide.content". Here is the code snippet of it(around line 460): // set the display name (in case of copy) if (!Configuration.useBinding(namespace.getUri(token, strUri).getStore())) { if(revisionDescriptor.getName() == null || revisionDescriptor.getName().length () == 0){ revisionDescriptor.setName(new UriPath(strUri).lastSegment()); } } Then I commented the If-Condition "if(revisionDescriptor.getName().....)", without changing the body of that condition. After compiling again, it worked. I could create a new folder by specifying my own name, which was displayed. -- 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]
