Details
-
Fix
-
Status: Approved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If you switch the orders_recoverable attribute from "yes" to "no" then the order records in SCHEDULER_ORDERS should be deleted.
If you switch the orders_recoverable attribute from "no" to "yes" then the order records in SCHEDULER_ORDERS should be created/updated.
The update of the database is made when the JobScheduler terminates normal but not if the JobScheduler is aborted.
1. Example with an incorrect behaviour:
- Suspend an order where orders_recoverable="yes"
- Switch orders_recoverable attribute from "yes" to "no"
- Resume the order
- Abort and restart the JobScheduler
Then the resumed order is suspended again.
2. Example with an incorrect behaviour:
- Suspend an order where orders_recoverable="no"
- Switch orders_recoverable attribute from "no" to "yes"
- Abort and restart the JobScheduler
Then the suspended order is resumed.