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

boli
15.00.2009 37c3ba8d247f67cda95864de063e2f97ded6e638
Fix for issue 3343: The previous virtual attribute rule was not removed after it was disabled. Upon re-enabling, the rule is assumed to already exist.
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/core/VirtualAttributeConfigManager.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/core/VirtualAttributeConfigManager.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2007-2008 Sun Microsystems, Inc.
 *      Copyright 2007-2009 Sun Microsystems, Inc.
 */
package org.opends.server.core;
import org.opends.messages.Message;
@@ -447,6 +447,7 @@
    {
      if (existingRule != null)
      {
        rules.remove(configuration.dn());
        DirectoryServer.deregisterVirtualAttribute(existingRule);
        existingRule.getProvider().finalizeVirtualAttributeProvider();
      }