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

Jean-Noël Rouvignac
03.52.2016 83ae76453e0b08ead8c12bd71c85445bdbbdb590
refs
author Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, August 3, 2016 16:52 +0200
committer Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, August 3, 2016 18:05 +0200
commit83ae76453e0b08ead8c12bd71c85445bdbbdb590
tree 1c157476d9300bff5c594fa7074857c3eaeaf101 tree | zip | gz
parent 959f728f4cc9d1b0e09ae7b99abf2457ac43e807 view | diff
Avoid DN being shown twice on UI: dc=example,dc=com,dc=example,dc=com

JNDI's SearchResult seem to work differently than SDK's SearchResultEntry:
The SearchResult's name is populated with the RDN only
while SearchResultEntry's name is the whole DN.
After switching SearchResult to SearchResultEntry,
CustomSearchResult ends up appending twice the same DN.

This commit fixes the double DN appending.
4 files modified
112 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/browser/NodeRefresher.java 49 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/CustomSearchResult.java 41 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/DeleteEntryTask.java 2 ●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/LDAPEntryReader.java 20 ●●●● diff | view | raw | blame | history