The cleanup routine in _hotfolder_clean_folder() does not seem to be processing the directory location properly.
For example,
When using the example_hotfolder.module to process csv files. Everything seems to be working correctly except the following error is logged:

Cleanup routine could not find directory hotfolder_processed.

And no matter what time frame is set for this it the processed directory is not cleaned up.

Comments

tlattimore’s picture

Status: Active » Closed (fixed)

Resolved.

Just needed to wrap $done_folder for _hotfolder_cleanup_done_jobs() infile_default_scheme() and file_stream_wrapper_uri_normalize().

Committed to 7.x-1.x.

Bastlynn’s picture

Thanks! :)