Author: deepal
Date: Sun Feb 24 22:12:03 2008
New Revision: 14131

Log:

got the copy function working correctly , then fix the directory rename issue 
as well 

Modified:
   
trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/dao/VersionedResourceDAO.java

Modified: 
trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/dao/VersionedResourceDAO.java
==============================================================================
--- 
trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/dao/VersionedResourceDAO.java
      (original)
+++ 
trunk/registry/modules/core/src/main/java/org/wso2/registry/jdbc/dao/VersionedResourceDAO.java
      Sun Feb 24 22:12:03 2008
@@ -672,7 +672,7 @@
         // if the resource is a directory then need to populate the dependecy 
table with
         // the new resource id , while keeping the old one as it is
         if (resource.isDirectory()) {
-            copyResource(oldPath,newPath  , registry , false , conn);
+            copyResource(oldPath,newPath  , registry , true , conn);
         } else {
             // Then its just need to add the resource and no need to update 
any of the
             // dependecy tables

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to