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=38900>. 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=38900 ------- Additional Comments From [EMAIL PROTECTED] 2006-03-09 12:26 ------- I have applied the first part of the patch, but with the second part I have understanding problems: Index: src/modules/webdav/java/src/org/apache/lenya/cms/usecases/webdav/Put.java =================================================================== --- src/modules/webdav/java/src/org/apache/lenya/cms/usecases/webdav/Put.java (revision 383956) +++ src/modules/webdav/java/src/org/apache/lenya/cms/usecases/webdav/Put.java (working copy) @@ -112,7 +112,7 @@ String tempSourceUri = "context://lenya/pubs/" + pubId + "/work/webdav/content/" + doc.getArea() + "/" + path + ".tmp"; tempSourceUri = tempSourceUri.substring("lenya://".length()); - tempSourceUri = "context://" + tempSourceUri; + tempSourceUri = "context:" + tempSourceUri; try { SourceUtil.copy(resolver, uploadSourceUri, tempSourceUri, true); We are setting first the String tempSourceUri, then we substring it based on lenya:// ??? to then put it together again, that does not compute for me. Can you explain why it is not just: String tempSourceUri = "context://lenya/pubs/" + pubId + /work/webdav/content/" + doc.getArea() + "/" + path + ".tmp"; or should this be actually: String tempSourceUri = "context://lenya/pubs/" + pubId + "/work/webdav/content/" + doc.getArea() + "/" + path + ".tmp"; tempSourceUri = tempSourceUri.substring("context://".length()); tempSourceUri = "lenya://" + tempSourceUri; if so why not directly: String tempSourceUri = "lenya://lenya/pubs/" + pubId + "/work/webdav/content/" + doc.getArea() + "/" + path + ".tmp"; TIA for details. -- 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]
