You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2018/08/28 12:04:00 UTC

[jira] [Commented] (CONNECTORS-1526) Empty contents are skipped completely/ignored in documentum connector

    [ https://issues.apache.org/jira/browse/CONNECTORS-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16594877#comment-16594877 ] 

Karl Wright commented on CONNECTORS-1526:
-----------------------------------------

Can you please look at the Simple History Report and find an empty document that was "skipped".  Please tell me what the status was for it.

There is no limitation currently in the documentum connector that prohibits indexing of empty documents. 
 But if the content cannot be fetched at all, empty or not, we skip it.  The code in question is as follows:

{code}
          String strFilePath = null;
          try
          {
            strFilePath = object.getFile(objFileTemp.getCanonicalPath());
          }
          catch (DocumentumException dfe)
          {
            // Fetch failed, so log it
            activityMessage = dfe.getMessage();
            if (dfe.getType() == DocumentumException.TYPE_NOTALLOWED)
            {
              activityStatus = "NOTALLOWED";
              return;
            }
            else if (dfe.getType() == DocumentumException.TYPE_CORRUPTEDDOCUMENT)
            {
              activityStatus = "CORRUPTEDDOCUMENT";
              return;
            }
            throw dfe;
          }
          long fileLength = objFileTemp.length();
          activityFileLength = new Long(fileLength);

          if (strFilePath == null)
          {
            activityStatus = "CONTENTDIDNOTFETCH";
            activityMessage = "Content could not be fetched";
            // We don't know why it won't fetch, but skip it and keep going.
            return;
          }
{code}


>  Empty contents are skipped completely/ignored in documentum connector
> ----------------------------------------------------------------------
>
>                 Key: CONNECTORS-1526
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1526
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Documentum connector
>    Affects Versions: ManifoldCF 2.9.1
>            Reporter: Divya Thejaswini
>            Assignee: Karl Wright
>            Priority: Major
>
> While fetching data from Documentum respository, empty documents are skipped completely instead of indexing its meta data.
> We need someone's help on fixing this in any of the upcoming version or patch for MCF 2.9.1 version.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)