directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1200) DefaultPartitionNexus unable to use non-JdbmPartition as systemPartition
Date Sun, 13 Jul 2008 22:47:31 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Karasulu updated DIRSERVER-1200:
-------------------------------------

    Fix Version/s:     (was: 1.5.3)
                   1.5.4

Have to move to 1.5.4 since this came in so late while 1.5.3 was being released.

> 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
>            Assignee: Alex Karasulu
>             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.


Mime
View raw message