Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
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