directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Icky Dude (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1200) DefaultPartitionNexus unable to use non-JdbmPartition as systemPartition
Date Fri, 11 Jul 2008 21:18:31 GMT
DefaultPartitionNexus unable to use non-JdbmPartition as systemPartition 
-------------------------------------------------------------------------

                 Key: DIRSERVER-1200
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1200
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
            Reporter: Icky Dude
             Fix For: 1.5.3


Attempt to use any partition type (other than JdbmPartition) will result in an NPE.  There
is a simple fix, cause is probably a typo.  

See diff below:

$ svn diff apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
Index: apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
===================================================================
--- apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
(revision 676079)
+++ apacheds/core/src/main/java/org/apache/directory/server/core/partition/DefaultPartitionNexus.java
(working copy)
@@ -423,9 +423,9 @@
                 }
 
                 ( ( JdbmPartition ) override ).setIndexedAttributes( indices );
-
-                system = override;
             }
+            
+            system = override;
         }
         else
         {


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message