Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
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
- is related to
-
JOC-408 The calculation of specific dates from an advanced search should be based on profile's time zone
-
- Released
-