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

Duplicate order IDs are generated in the order history and Daily Plan tab.

    XMLWordPrintable

Details

    Description

      Current Situation:
      Duplicate Order IDs are created in both the Order History and Daily Plan views. This behavior occurs when orders that are submitted via Daily Plan get canceled and resubmitted.

      Steps to Reproduce:

      Test Case 1: Duplicate Order ID in Order History

      Release the schedule SCH-DUP-ORDER

      1. A planned order for today is created in the Daily Plan — expected behavior.
      2. Let run the scheduled order on the workflow WF-DUP-ORDER.
      3. Cancel the order. The cancellation is correctly logged in the Order History with its Order ID.
      4. Go to the Daily Plan and re-submit today's planned orders.
      5. Go back to WF-DUP-ORDER you will observe that a new order with the same Order ID is created.

      Test Case 2: Duplicate Order ID in Daily Plan

      1. Release the schedule. SCH-DUP-ORDER
      2. A planned order for today is created in the Daily Plan — expected behavior.
      3. Let run the scheduled order on the workflow WF-DUP-ORDER.
      4. Cancel the order from the workflow view.
      5. Go to the Daily Plan and resubmit today's planned orders.
      6. Let run the scheduled order on WF-DUP-ORDER again
      7. Cancel this second order.
      8. Check the Daily Plan tab; duplicate Order IDs appear in the planned state.

      Expected Behaviour:

      No duplicate Order IDs should be created when the cancelled orders are resubmitted via Dailyplan

      Attachments

        Activity

          People

            oh Oliver Haufe
            gitesh-patidar Gitesh Patidar
            Ajay Kumbhkar Ajay Kumbhkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: