Hi,
When auto-version-control is used, CopyMethod is trying to put under
version control collections created by the copy.
It is not allowed, isn't it ?
Enclosed patch fixes the problem.
Best regards
Jp
--- src/webdav/server/org/apache/slide/webdav/method/CopyMethod.java.origin Fri
Oct 4 09:38:47 2002
+++ src/webdav/server/org/apache/slide/webdav/method/CopyMethod.java Fri Oct 4
+09:40:56 2002
@@ -399,7 +399,7 @@
}
// check if the resource should be put under version-control
- if( PutMethod.AUTO_VERSION_CONTROL ) {
+ if( PutMethod.AUTO_VERSION_CONTROL && !isCollection(destinationUri) ) {
versioningHelper.versionControl(destinationUri);
}
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>