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

"Show Daily Plain" for the order does not update when deleting/Updating the assigned Calendar

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12
    • 1.12.10
    • None

    Description

      Current Situation

      • When deleting/updating a Calendar (from the "Resources" tab) that is assigned to an order and selecting "Show Daily Plan" from the order's action menu in the Orders view the same dates are displayed as before when the order was assigned the calendar. However, at this point in time, the assignment to a Calendar no longer exists.

      How to Reproduce on the deletion of calendar

      • Login to JOC Cockpit.
      • Switch to "Resources" tab --> Calendar.
      • Create a new Calendar.
      • Switch to the Orders view and assign the newly created calendar from "Set Runtime-time" option in the action menu with the period on order.
      • Select the "Show Daily Plan" from the order's action menu to preview the dates on which the order will be running.
      • Switch back to the "Resources" view and delete the last created calendar.
      • Go back to the "Orders" view and select "Show Daily Plan" from the action menu.
      • The same dates are displayed as before when a calendar was assigned.

      How to Reproduce on updating the calendar

      • Login to JOC Cockpit.
      • Switch to "Resources" tab --> Calendar.
      • Create a new Calendar.
      • Switch to the Orders view and assign the newly created calendar from "Set Runtime-time" option in the action menu with the period on order.
      • Select the "Show Daily Plan" from the order's action menu to preview the dates on which the order will be running.
      • Switch back to the "Resources" view and update the last created calendar.
      • Go back to the "Orders" view and select "Show Daily Plan" from the action menu.
      • The same dates are displayed as before when a calendar was assigned.

      Desired Behavior

      • When deleting/updating a calendar assignment from an order then the "Show Daily Plan" option from the action menu of an order should be updated.

      Maintainer Note

      • While under Windows the JobScheduler is notified when a configuration file has changed, under Linux it is necessary to poll the live directory, which the JobScheduler does every minute.
      • When a calendar is assigned or an already assigned calendar is changed or deleted, the configuration file of the job, order or schedule is changed.
      • Under Linux it can therefore take up to a minute for the DailyPlan to provide up-to-date information.

      Workaround
      A patch is provided. It's necessary to patch JobScheduler and JOC.

      Attachments

        Activity

          People

            oh Oliver Haufe
            Aditi-Dubey Aditi Dubey (Inactive)
            Aditi Dubey Aditi Dubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: