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

Jean-Noël Rouvignac
15.22.2016 9be9796ea612b8b8892c9304aef737bf2b89be8a
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, March 15, 2016 16:22 +0100
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Thursday, March 17, 2016 09:48 +0100
commit9be9796ea612b8b8892c9304aef737bf2b89be8a
tree a2c5fb711aacf9e1fabd55965cde68370d63ba66 tree | zip | gz
parent 2502ac715d947766bd3e2aa700bdfd21c6059b9c view | diff
Converters.java: fixed bad conversion from SDK entry to server Entry

Problem happened when converting objectclass names if an attribute type exists with the exact same name.
In that case, the converted entry end up with an object class which has the correct name,
but incorrectly references the attribute type OID.
This case happens in 02-config.ldif for "ds-cfg-backend", "ds-cfg-certificate-mapper", etc.
2 files modified
49 ■■■■ changed files
opendj-server-legacy/src/main/java/org/forgerock/opendj/adapter/server3x/Converters.java 33 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/forgerock/opendj/adapter/server3x/ConvertersTestCase.java 16 ●●●●● diff | view | raw | blame | history