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

neil_a_wilson
30.07.2007 b1187f8bd8022fd841f709abf35a032153818b26
Fix a problem that could prevent clients from updating the server schema if
the ds-cfg-show-all-attributes configuration attribute was set to true. The
ds-sync-state attribute should always be treated as operational, regardless of
this setting (in fact, this setting should only apply to the attributeTypes,
objectClasses, and matchingRules attributes).

OpenDS Issue Number: 1561
1 files modified
9 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java 9 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java
@@ -872,14 +872,7 @@
                         ATTR_SYNCHRONIZATION_STATE_LC, valueSet);
    attrList = new ArrayList<Attribute>(1);
    attrList.add(attr);
    if (synchronizationStateType.isOperational() && (! showAllAttributes))
    {
      operationalAttrs.put(synchronizationStateType, attrList);
    }
    else
    {
      userAttrs.put(synchronizationStateType, attrList);
    }
    operationalAttrs.put(synchronizationStateType, attrList);
    // Add all the user-defined attributes.
    for (Attribute a : userDefinedAttributes)