Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.11
-
None
Description
Current Situation
- When executing the command
<show_state subsystems='folder standing_order' what='folders job_chain_orders' path='x'/>
and in the path x is an order with an include<holidays > <include live_file="holiday.xml"/> </holidays>
then the answer contains an error
<orders> <order created="2015-12-03T14:10:58.265Z" id="create_maintenance" name="job_chain_create_maintenance_window,create_maintenance" order="create_maintenance" path="/prod/maintenance/job_chain_create_maintenance_window,create_maintenance" priority="0"> <file_based file="C:/Users/ur/Documents/sos-berlin.com/jobscheduler/scheduler_current/config/live/prod/maintenance/job_chain_create_maintenance_window,create_maintenance.order.xml" last_write_time="2015-11-23T15:22:24.000Z" state="undefined"> <ERROR code="SCHEDULER-399" text="SCHEDULER-399 Error in <include live_file="maintenance.xml"/>: ERRNO-2 ENOENT No such file or directory [open] [C:/Users/ur/Documents/sos-berlin.com/jobscheduler/scheduler_current/config/live/prod/maintenance/maintenance.xml]"/> <requisites/> </file_based> </order>
even if the file holiday.xml exists.
- Explanation
- At the point in time when the order has been loaded by JobScheduler the holiday file was not available.
- Modifying a holiday file does not cause JobScheduler to reload an order.
Desired Behavior
- The above <show_state> command should
- include an error if the holiday.file does not exist.
- show no errors if the holiday file does exist.
- JobScheduler should consider added, updated and removed holiday files as specified with
JS-419.
Workaround
- Update the order to force JobScheduler to reload the order and the referenced holiday file.
Maintainer Notes
Attachments
Issue Links
- requires
-
JS-419 JobScheduler should auto load changes to a holiday file
- Released