manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hotchkiss (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1471) FileOutputConnector.removeDocument() Root Path Check Always Fails
Date Wed, 01 Nov 2017 14:31:00 GMT


David Hotchkiss commented on CONNECTORS-1471:

If I have time, I can attempt a patch.  The earliest I can get to it will be tomorrow (Nov.

Since the object type for "outputDescription" differs, between addOrReplaceDocumentWIthException()
and removeDocument(), the technique used by addOrReplaceDocumentWithException() is not directly

I've been looking for way to resolve a FileOutputSpecs for the document but I'm open to any
suggestions or alternatives.

> FileOutputConnector.removeDocument() Root Path Check Always Fails 
> ------------------------------------------------------------------
>                 Key: CONNECTORS-1471
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: File system connector
>    Affects Versions: ManifoldCF 2.8.1
>         Environment: Demonstrated on:
> OS: Linux RHEL 7 and Ubuntu 14.04, 
> Java Version: JDK 1.8,
> Databases: HSQL and PostgreSQL.
>            Reporter: David Hotchkiss
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.9
> The FileOutputConnector.removeDocument() method has a precondition check for existence
of the "root" path portion of the document location.  But the path is not specified and the
check is based on an empty StringBuffer which will always fail.

This message was sent by Atlassian JIRA

View raw message