jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r447885 - /jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java
Date Tue, 19 Sep 2006 15:39:22 GMT
Author: angela
Date: Tue Sep 19 08:39:21 2006
New Revision: 447885

URL: http://svn.apache.org/viewvc?view=rev&rev=447885
Log:
import fails: importZipEntry for 'directory' returns false even if dir was successfully created.

Modified:
    jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java

Modified: jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java?view=diff&rev=447885&r1=447884&r2=447885
==============================================================================
--- jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java
(original)
+++ jackrabbit/trunk/jcr-server/server/src/java/org/apache/jackrabbit/server/io/ZipHandler.java
Tue Sep 19 08:39:21 2006
@@ -227,6 +227,7 @@
         log.debug("entry: " + entry.getName() + " size: " + entry.getSize());
         if (entry.isDirectory()) {
             IOUtil.mkDirs(node, makeValidJCRPath(entry.getName(), false), getCollectionNodeType());
+            success = true;
         } else {
             // import zip entry as file
             BoundedInputStream bin = new BoundedInputStream(zin);



Mime
View raw message