Hi David, This is not the expected behavior. The removeDocument() method should be looking for the existence of the root directory, and returning if that doesn't exist, before attempting to remove the specified document.
Please create a ticket, and if you are interested, create a patch. Thanks! Karl On Tue, Oct 31, 2017 at 11:57 AM, Hotchkiss, David <[email protected]> wrote: > Using ManifoldCF v 2.8.1: I think there is a problem with the Filesystem > Output Connector's removeDocument method. > > During testing, we noticed that documents removed from the source > repository did not result in a zero-length file in the file system > destination. > > When the "removeDocument()" method checks for existence of the root, it > constructs a "File" object from an empty StringBuffer instead of the > root path for the output destination. This causes removeDocument to > return on condition that the path does not exist. > > Is this the expected behavior? > > Thanks, > > //david >
