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

neil_a_wilson
08.20.2007 772069cfb1ed8bc53106eb581092545a5d1feb00
refs
author neil_a_wilson <neil_a_wilson@localhost>
Thursday, March 8, 2007 21:20 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Thursday, March 8, 2007 21:20 +0100
commit772069cfb1ed8bc53106eb581092545a5d1feb00
tree d04f9a9c4cf8e0a78fa85b06e67a17e3386df5ec tree | zip | gz
parent 74e1bca85ee4c5f02f6000028c69e65fa440ff1e view | diff
Fix a bug in the schema backend that could cause problems when deleting one
instance of an element and adding a different instance of the same element in
the same modification that also depends on a third schema element which was
added between the two. For example, if you tried to have a single modify
operation that deleted an existing object class, added a new attribute type,
and added a new object class that depended on the new attribute type, the
operation would fail because when processing the removal of the object class
the server would attempt to determine whether it was going to be re-added later
in the operation and therefore attempted to decode any object class additions
later in the operation. An error occurred when trying to decode the new object
class because it depended on an attribute type that was not yet defined and the
decode operation wasn't told to ignore unknown schema elements.

OpenDS Issue Number: 1318
2 files modified
67 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java 8 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/backends/SchemaBackendTestCase.java 59 ●●●●● diff | view | raw | blame | history