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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 2.1, ManifoldCF 2.2
    • Fix Version/s: ManifoldCF 2.3
    • Component/s: Documentum connector
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: