mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
18.01.2011 cdd97abbbda0326c8d3d32fd3668507d247a012e
Fix issue with OPENDJ-91 : Unique Attribute plugin rejects valid modification of unique value.
The issue was in the XML definition of the plugin configuration. The registration of post operation callbacks were missing. The default uid unique attribute plugin has them properly set in config/config.ldif, so enabling that plugin worked. But adding a new copy of the plugin with dsconfig create-plugin would create an invalid configuration inducing errors and memory leaks.
1 files modified
4 ■■■■ changed files
opends/src/admin/defn/org/opends/server/admin/std/UniqueAttributePluginConfiguration.xml 4 ●●●● patch | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/UniqueAttributePluginConfiguration.xml
@@ -24,6 +24,7 @@
  !
  !
  !      Copyright 2007-2008 Sun Microsystems, Inc.
  !      Portions Copyright 2011 ForgeRock AS
  ! -->
<adm:managed-object name="unique-attribute-plugin"
  plural-name="unique-attribute-plugins"
@@ -62,6 +63,9 @@
        <adm:value>preoperationadd</adm:value>
        <adm:value>preoperationmodify</adm:value>
        <adm:value>preoperationmodifydn</adm:value>
        <adm:value>postoperationadd</adm:value>
        <adm:value>postoperationmodify</adm:value>
        <adm:value>postoperationmodifydn</adm:value>
        <adm:value>postsynchronizationadd</adm:value>
        <adm:value>postsynchronizationmodify</adm:value>
        <adm:value>postsynchronizationmodifydn</adm:value>