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

Gaetan Boismal
09.38.2015 346c8760d1be671f45a037899a167d48872a4a37
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, June 9, 2015 12:38 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, June 9, 2015 12:38 +0200
commit346c8760d1be671f45a037899a167d48872a4a37
tree 79a5b9d561a4c8ac17fdb48c24d2a644136708ee tree | zip | gz
parent 965ebec1f766a3b0c2ae7a62cbf924537a6b2ea8 view | diff
OPENDJ-2092 OPENDJ-1759 New Schema elements GUI

CR-7193
This commit fixes control panel "new attribute type" and "new object class" features.
Changes made for both features:
* src/main/java/org/opends/guitools/controlpanel/task/NewSchemaElementsTask.java
** Re introduce code to create attribute type or object class string definition. This is needed because at the moment we add schema elements with their definition. Since r10478, definition is no more computed on the fly on a toString() call. We need to duplicate code as the only way to get a schema element definition is to add it to a schema before. Once the schema support will be fully migrated to the sdk this duplicated code should be remove. Note that the description generated is used only by machines, not humans
* src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java
** Fix regression introduced in r11261 which has side effect to avoid schema element descriptor refresh after a schema element creation.
2 files modified
244 ■■■■ changed files
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ServerDescriptor.java 74 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/task/NewSchemaElementsTask.java 170 ●●●●● diff | view | raw | blame | history