Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Current Situation
- When setting the parameter skip_transfer=true the no files will be transferred. After executing the command an error is raised and the client terminates with exit code 99:
- To reproduce the error use
/opt/sos-berlin.com/jade/client/bin/jade.sh \ -operation=copy \ -source_protocol=sftp \ -source_user=test \ -source_host=xxx.xxx.xxx.xxx \ -source_dir=/home/test/ \ -source_ssh_auth_method=password \ -source_password=xxxxx \ -source_port=22 \ -target_protocol=local \ -target_dir=/home/test/xxx \ -verbose=0 \ -skip_transfer=true \ -transactional=false \ -remove_files=false \ -verbose=6 \ -file_spec=^.*$
- This results in an error message such as:
main INFO 11:42:09,928 (SOSDataExchangeEngine.java:623) ::printState SOSJADE_E_0100: es wurde keine Datei mit einem Namen gefunden der dem regulären Ausdruck '^.*$' entspricht.
Desired Behavior
- If no files are transferred and the parameter skip_transfer=true then the YADE Client should terminated with exit code 0.
Attachments
Issue Links
- is affected by
-
YADE-272 The error SOSJADE_E_0100 should be raised exclusively if no source files have been found
- Released