You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/12/13 08:49:02 UTC

[jira] Updated: (DIRSERVER-1571) FrameworkSuite ignores @CreatePartition annotations

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

Emmanuel Lecharny updated DIRSERVER-1571:
-----------------------------------------

    Fix Version/s: 2.0.0-RC1

Check if this has been fixed - or not, and in this case, fix it -

> FrameworkSuite ignores @CreatePartition annotations
> ---------------------------------------------------
>
>                 Key: DIRSERVER-1571
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1571
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core-integ
>    Affects Versions: 1.5.7
>            Reporter: Andrew Swan
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> There's a nice @CreatePartition annotation that promises simpler setting up of partitions compared to creating them programmatically. The org.apache.directory.server.core.integ.FrameworkSuite class even has a private "addPartitions" method that reads this annotation. However it quietly does nothing:
>     private void addPartitions( Description description )
>     {
>         CreatePartition createPartition = description.getAnnotation( CreatePartition.class );
>         
>         if ( createPartition != null )
>         {
>             
>         }
>     }

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