Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-726

AbstractCmisService.addTypeChildren

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • OpenCMIS 0.10.0
    • None
    • opencmis-commons
    • None

    Description

      getTypeDescendants should recursively go down the tree of types and collect them. There is a code:

      if (children != null && children.getList() != null && children.getList().size() > 0) {
      List<TypeDefinitionContainer> list = new ArrayList<TypeDefinitionContainer>();
      container.setChildren(list);

      It means that there is always an empty list added to the resulting list. Is that how it should work?

      In the end, the method always returns children instead of descendants.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mac.jankowski Maciej Jankowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: