manifoldcf-dev mailing list archives

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

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

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.
2nd).

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

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: https://issues.apache.org/jira/browse/CONNECTORS-1471
>             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
(v6.4.14#64029)

Mime
View raw message