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

Jean-Noël Rouvignac
04.24.2016 eb384076c69a10db7dc66fb97b8c9c7db28dd273
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/ui/TableViewEntryPanel.java
@@ -51,6 +51,7 @@
import org.forgerock.opendj.ldap.AttributeDescription;
import org.forgerock.opendj.ldap.ByteString;
import org.forgerock.opendj.ldap.DN;
import org.forgerock.opendj.ldap.LinkedAttribute;
import org.forgerock.opendj.ldap.RDN;
import org.forgerock.opendj.ldap.schema.AttributeType;
import org.forgerock.opendj.ldap.schema.ObjectClass;
@@ -721,10 +722,10 @@
      for (String attrName : schemaReadOnlyAttributesLowerCase)
      {
        List<ByteString> values = searchResult.getAttributeValues(attrName);
        if (!values.isEmpty())
        Attribute attr = searchResult.getAttribute(attrName);
        if (attr != null && !attr.isEmpty())
        {
          newResult.set(attrName, values);
          newResult.set(new LinkedAttribute(attr));
        }
      }
      ignoreEntryChangeEvents = true;