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

pgamba
15.36.2008 f0db4ef0f870cd995ac0d11e0a4ed4d4591627e6
refs
author pgamba <pgamba@localhost>
Friday, February 15, 2008 09:36 +0100
committer pgamba <pgamba@localhost>
Friday, February 15, 2008 09:36 +0100
commitf0db4ef0f870cd995ac0d11e0a4ed4d4591627e6
tree fffc42d345bd7acae29e90ae282e85e405a294b6 tree | zip | gz
parent 8dafd470da7c819a68ea65d5b21b8dfe88661e2d view | diff
Fix 2904: "dsreplication enable" cannot initialize b11 from b10 because the schema initialization fails on the config schema.
The code already tests whether the new objectclass is part of the config schema and then excludes it from the import. That's fine.
Except that the test relies on the decoding of the OC and fails if the new OC comes with a new attribute.
The fix consists in relaxing the decoding when doing the test .. and really doing a strict decoding after the test once we know the new OC is not a config OC.

1 files modified
9 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/SchemaBackend.java 9 ●●●● diff | view | raw | blame | history