elasticio / sftp-component

SFTP component for the elastic.io platform
Apache License 2.0
2 stars 3 forks source link

Error "Cannot read property 'directory' of undefined" is produced when trying to poll for files #108

Closed jhorbulyk closed 2 years ago

jhorbulyk commented 2 years ago

Component Bug Report

Description

Currently, whenever the polling trigger is used in the SFTP component, an error "Cannot read property 'directory' of undefined" is produced.

Component Version

Steps to Reproduce

  1. Create a new flow
  2. Set the first step to SFTP -> Poll Files.
  3. Select any valid directory (e.g. /www/jacob) and select Emit Individually as the emit behavior.
  4. Attempt to generate a sample.

Actual Result

Expected Result

Workaround(s)

Downgrade to version 1.4.5