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.
| | |
| | | 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; |
| | | } |