Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-692

"Task History" in Jobs View is not displayed when the job name contains a blank

    XMLWordPrintable

Details

    Description

      Current Situation

      • To get the task history in the Jobs Overview, the JobScheduler has been queried with the request
        ./jobscheduler/master/api/job/{job-path}?return=History&limit=10
        

        since JS-1802.

      • If the job name contains a blank character (e.g. hello job) then the request is correct urlencoded
        ./jobscheduler/master/api/job/hello%20job?return=History&limit=10
        

        but the response has always an empty array.

      • User can start the job from JOC's action menu e.g. Start Task Immediately
      • The task runs successfully but when JOC does not show any Task History entries, see attached screenshot joc-job-taskhistory.png.
      • The History --> tasks view show the task history, refer attached screenshot joc-history-taskhistory.png.

      How to reproduce

      • Create a standalone shell job with space in job name, e.g. "hello job".
      • Login to the JOC Cockpit and Start the standalone job.
      • The Task will run successfully, but Task History for the job will not be displayed.

      Desired Behavior 

      • The Task History for a standalone job should be displayed even if the job name contains space.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: