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

jcambon
05.04.2008 cd0216f0685188a6a5c6d87aac6003ce68cf2dd2
Fix for issue:
In the generated Configuration Reference doc, if "Structure" tab selected, we have an issue if a parent component have several child of the same type.



1 files modified
5 ■■■■ changed files
opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java 5 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/doc/ConfigGuideGeneration.java
@@ -343,7 +343,10 @@
    for (RelationDefinition rel : list.values()) {
      AbstractManagedObjectDefinition childMo = rel.getChildDefinition();
      AbstractManagedObjectDefinition parentMo = rel.getParentDefinition();
      relList.put(childMo.getName(), rel);
      // Does not generate several entry for the same relation
      if (relList.put(childMo.getName(), rel) != null) {
       continue;
      }
      if (rel.hasOption(RelationOption.HIDDEN)) {
        continue;
      }