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

sin
24.33.2008 5529b81d9211826fa6c47f59753031a51aa56f6e
opends/src/server/org/opends/server/core/AddOperationBasis.java
@@ -110,7 +110,8 @@
  // The change number that has been assigned to this operation.
  private long changeNumber;
  // The flag indicates if  an LDAP error was reported.
  private boolean ldapError;
  /**
   * Creates a new add operation with the provided information.
   *
@@ -358,8 +359,8 @@
   */
  private final void computeObjectClassesAndAttributes()
  {
    if ((objectClasses == null) || (userAttributes == null) ||
        (operationalAttributes == null))
    if (((objectClasses == null) || (userAttributes == null) ||
        (operationalAttributes == null))  && !ldapError)
    {
      objectClasses         = new HashMap<ObjectClass,String>();
      userAttributes        = new HashMap<AttributeType,List<Attribute>>();
@@ -387,6 +388,7 @@
              objectClasses = null;
              userAttributes = null;
              operationalAttributes = null;
              ldapError = true;
              return;
            }
          }
@@ -460,6 +462,7 @@
          objectClasses = null;
          userAttributes = null;
          operationalAttributes = null;
          ldapError = true;
        }
      }
    }