Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-620

The DisableErrorOnNoFilesFound=true does not work when used with the FilePathSelection/FileListSelection parameters

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.13.22
    • YADE Client
    • None

    Description

      Current Situation

      • If a source file specified by the Profiles->Profile->Operation->...->SourceFileOptions->Selection->FilePathSelection|FileListSelection does not exist in the Source, the Thansfer is aborted with an error even if the ...->SourceFileOptions->Directives->DisableErrorOnNoFilesFound setting is set to true.

      Desired Behaviour

      • No error should be thrown in the situation described above.

      Maintainer Note

      • DisableErrorOnNoFilesFound takes effect when 0 files were found in the Source.
      • If FilePathSelection|FileListSelection contains multiple files and, for example, one of those files was not found, no exceptions are thrown.
        • If all files are expected to be found, functionality provided with YADE-622 can be used.

      Test Instructions

      • For example, configure an SFTP Transfer.
      • Use FilePathSelection with a file path that does not exist.
      • Test the configured Profile with DisableErrorOnNoFilesFound=true and DisableErrorOnNoFilesFound=false.
        • Expected result:
          • DisableErrorOnNoFilesFound=true - no error should be thrown if a file does not exist.
          • DisableErrorOnNoFilesFound=false - an error should be thrown if no files are found.
      • Repeat the tests with the FileListSelection setting.
      • Use the file path of an existing file and repeat the tests.

      Attachments

        Issue Links

          Activity

            People

              re Robert Ehrlich
              re Robert Ehrlich
              Kanika Agrawal Kanika Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: