Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1241

Documentum connector fails list cabinet and folders with custom type / subtype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.1, ManifoldCF 2.2
    • ManifoldCF 2.3
    • Documentum connector
    • None
    • All

    Description

      The problem seems to be isOneOf method of org.apache.manifoldcf.crawler.common.DCTM.DocumentumImpl.java

      ----------------
      public boolean isOneOf(String theType, String[] matchTypeSet)
      throws DocumentumException, RemoteException
      {
      IDfSession objIDfSession = getSession();
      try
      {
      IDfType typeDescription = objIDfSession.getType(theType);
      int i = 0;
      while (i < matchTypeSet.length)

      { String matchType = matchTypeSet[i++]; if (matchType.equalsIgnoreCase(theType)) return true; if (typeDescription.isSubTypeOf(theType)) return true; }

      return false;
      }


      the line
      if (typeDescription.isSubTypeOf(theType)) /* Type description itself is the theType, for sybtype ( custom type) checking it should be checked against matchedType as below*/

      Should be changed with
      if (typeDescription.isSubTypeOf(matchType))

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            bpodder Bipul Podder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: