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

A transferred file should not be deleted in case that a rename is set and the regular expression doesn't match the transferred file

    XMLWordPrintable

Details

    Description

      Problem: We have a profile with replacing/replacement to rename the target files where the regular expression of the replacing parameter doesn't match the transferred files.

      ;all files starting with an 'x' will be transferred
      file_spec = ^x.*$
      ;all transferred files starting with an 'y' will be renamed
      target_replacing = (y)(.*)
      target_replacement = \1;\2.transferred
      

      JADE deletes an already existing file (overwrite_files=true) before the rename. If the new filename is equal to the original filename then the original file is deleted.

      Approach:
      JADE checks before the rename JADE wether the original and the new filename are equal. If yes the a rename is unnecessary and JADE aborts the rename

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified