Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 2.1, ManifoldCF 2.2
-
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)
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))