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

YADE Target FTPS transfer throws ClassCastException if KeepModificationDate=true is used

    XMLWordPrintable

Details

    • Fix
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.13.23
    • YADE Client
    • None

    Description

      Current Situation

      • If a Target Fragment is an FTPSFragment and the TargetFileOptions->KeepModificationDate option is set to true when:
        • a ClassCastException is thrown
          [<number>][transfer_aborted][Source=<file_path>]java.lang.ClassCastException: com.sos.vfs.ftp.SOSFTPS cannot be cast to com.sos.vfs.ftp.SOSFTP
        • TransferOptions->Transactional
          • true - the entire transfer is cancelled - no files are transferred.
          • false - the files are transferred, but without keeping the modification time of the source file.

      Desired Behaviour

      • The functionality of YADE should not be affected by the implementation errors.

      Test Instructions

      • Configure an FTPSFragment as Target Fragment
      • Test with TargetFileOptions->KeepModificationDate true or false
      • Repeat the tests with an FTPFragment as Target Fragment

      Attachments

        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: