Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-492

The JobSchedulerRemoveFile job should report the reason why a remove operation is not successful

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.12
    • 1.12.6
    • None

    Description

      Current Situation

      When the JobSchedulerRemoveFile job cannot remove the given file successfully then the log contains the line cannot remove file: filename

      Desired Behavior

      When the JobSchedulerRemoveFile job cannot remove the given file successfully then the log should contain the reason. Reasons can be e.g.

      • File not found
      • Permission denied (IOException)

      Test Instruction

      Test Configuration

      • Open JOE and use the wizard to create order-controlled job, using template job "JobSchedulerRemoveFile".

      Test Data

      • Create jitl_492.txt file in c:/data/inbound
      • Remove read permission from file jitl_492.txt

      Test Execution

      • Login on to the JOC Cockpit and start the job

      Test Results

      • Negative Results
        • When the job cannot remove the given file successfully, the log file contains the line cannot remove file: filename
      • Positive Results
        • When the job cannot remove the given file successfully, then the log file should contain the reason like File not found or permission denied(IOException)

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: