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

Jean-Noël Rouvignac
09.03.2016 3853a10b6b9c146804dbc9ba390cc39965c0b331
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, March 9, 2016 21:03 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Friday, March 11, 2016 13:13 +0100
commit3853a10b6b9c146804dbc9ba390cc39965c0b331
tree 8dbe4cb04c3405dee5f4d250134c6c76ae962869 tree | zip | gz
parent b425cbd0d1ea47999a351b07fdca5930d5977953 view | diff
OPENDJ-2703 Replication: when adding a new objectclass, 99-user.ldif files differ

The problem comes from a typo in the migration to the SDK AttributeType,
by using CoreSchema.getObjectClassAttributeType() instead of CoreSchema.getObjectClassesAttributeType().

SchemaBackend.java:
In importEntry(), fixed typo and removed dead code.

SchemaBackendTestCase.java:
Renamed testImportLDIF() to testImportLDIFFails() and added testImportLDIFSuccess().
2 files modified
129 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/backends/SchemaBackend.java 82 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/backends/SchemaBackendTestCase.java 47 ●●●● diff | view | raw | blame | history