[ 
https://issues.apache.org/jira/browse/DIRSERVER-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613210#action_12613210
 ] 

Alex Karasulu commented on DIRSERVER-1200:
------------------------------------------

Sorry about this but we had the vote in effect so we could not apply this 
simple patch.  I'll make sure it gets put into 1.5.4 thought. Thanks! 

> 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.4
>
>
> 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.

Reply via email to