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

Run-times of copied Orders are not shown correctly in the Show Daily Plan modal window

    XMLWordPrintable

Details

    Description

      Current Situation

      Consider the situation when an Order is copied in JOE or at the file level and pasted to another Job Chain in another Folder. If the "new" Order is given the same ID as the original Order (e.g."evening_run") then it will be shown twice in both folders in the Show Daily Plan modal window. Changing the Order ID will cause the Order to be displayed correctly.

      The request of ./plan contains only an orderId without the jobChain path.

      {
      	"jobschedulerId": "scheduler.1.12",
      	"states": ["PLANNED"],
      	"orderId": "createDailyPlan",
      	"dateFrom": "2018-03-22T23:00:00.000Z",
      	"dateTo": "2018-03-31T21:59:00.000Z"
      }
      

      The request contains further wrong dateTo and dateFrom values.
      The UTC times has to be calculated with the profile's time zone and not with the browser's time zone (here: Europe/Berlin).
      Why has dateTo one hour and one minute less then dateFrom?

      Desired Behaviour

      Both the Job Chain and the OrderID should be considered when filtering Orders for the Show Daily Plan modal window.
      As the Job Chain includes the Folder, the case where Job Chain IDs and Order IDs in different folders are identical will be covered.

      Attachments

        Issue Links

          Activity

            People

              ztsa0019 Sourabh Agrawal
              aa Alan Amos
              Alan Amos Alan Amos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: