Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.8, 1.9, 1.10
-
None
-
None
Description
Current situation
When adding an order with a run time to a job chain that does not exist JobScheduler crashes
<job name="job1"> <script language="java:javascript"> <![CDATA[ function spooler_process(){ run_time = '<run_time ><weekdays ><day day="1 2 3 4 5 6 7"> <period single_start="10:00"/> </day></weekdays></run_time>'; var order = spooler.create_order(); order.run_time.xml=run_time; var job_chain = spooler.job_chain("xxx"); job_chain.add_or_replace_order(order); return false; } ]]> </script> <run_time /> </job>
Desired behaviour
JobScheduler should not crash when running the job above
Attachments
Issue Links
- is duplicated by
-
JS-1507 JobScheduler should not crash if an order with an invalid run time is added
- Dismissed