jumal 2002/10/08 07:01:02
Modified: src/webdav/server/org/apache/slide/webdav/method
CopyMethod.java
Log:
Bugzilla bug #12533 fixed.
When deltaV's auto_version_control parameter was used, new resources were
put under version control even if they were collections (which is not allowed).
This was preventing collections to be copied.
Revision Changes Path
1.49 +4 -4
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/CopyMethod.java
Index: CopyMethod.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/CopyMethod.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- CopyMethod.java 20 Sep 2002 15:21:27 -0000 1.48
+++ CopyMethod.java 8 Oct 2002 14:01:02 -0000 1.49
@@ -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]>