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

Parameter overwrite_files=no for existing files should not result in misleading error message

    XMLWordPrintable

Details

    • Fix
    • Status: Dismissed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 1.6.4131
    • 1.9
    • YADE Client
    • None

    Description

      Current Situation

      • Using the following profile
        simple_sftp.ini
        [sftp_receive]
        log_filename=c:\temp\jade.log
        source_host=wilma.sos
        source_protocol=sftp
        source_ssh_auth_method=password
        source_user=test
        source_password=12345
        target_host=localhost
        target_protocol=local
        file_path=test.xml
        operation=copy
        target_dir=c:\temp
        source_dir=.
        overwrite_files=no
        
      • if c:\temp\test.xml already exists then the following error is raised:
        es wurde keine Datei mit einem Namen gefunden der dem regulären Ausdruck '^.*$' entspricht
        

      Desired Behavior

      • JADE should provide an informative error message that points to the reason why a file could not be overwritten
        • e.g. write protection enabled
        • e.g. settings active for force_files=true and overwrite_files=yes
      • No error should be raised if force_files=false

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              al Andreas Liebert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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