Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.7.1
-
None
Description
- Current Situation
- When a user wants to ignore errors in case of
- a file not being found on source server and
- the parameter force_file=true is set together with file_path=... or with file_list=...
- then YADE raises an error.
- The behavior is correct and no error is raised if the parameter force_files is used with the parameter file_spec
- See this job to reproduce the problem:
<?xml version="1.0" encoding="ISO-8859-1"?> <job title="" stop_on_error="no"> <params > <param name="file_path" value="/home/test/file.txt"/> <!-- <param name="file_spec" value="file.txt"/> --> <param name="host" value="homer.sos"/> <param name="local_dir" value="/home/test"/> <param name="port" value="22"/> <param name="operation" value="receive"/> <param name="protocol" value="sftp"/> <param name="user" value="test"/> <param name="ssh_auth_method" value="password"/> <param name="password" value="12345"/> <param name="force_files" value="false"/> <param name="source_host" value="homer.sos"/> </params> <script language="java" java_class="sos.scheduler.jade.JadeJob"/> <run_time /> </job>
- When a user wants to ignore errors in case of
- Desired Behavior
- No error shall be raised if force_files=false is used as specified in the above-mentioned current situation.
Attachments
Issue Links
- affects
-
YADE-207 Exceptions should be raised for some reasons even though the parameter force_files=false
- Released