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

YADE should not raise an exception if the parameters force_files=false and file_path or file_list are used

    XMLWordPrintable

Details

    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>
          
      • Desired Behavior
        • No error shall be raised if force_files=false is used as specified in the above-mentioned current situation.

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              mp Mahendra Patidar
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h