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

'Modify Variables' Creates Duplicate Entry When Used from Ad-Hoc Order Section

    XMLWordPrintable

Details

    • Fix
    • Status: Approved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.7.4
    • 2.7.5, 2.8.0
    • None
    • None

    Description

      Current Behavior:

      • When a user clicks on "Modify Variables" while adding an order from the Ad-Hoc Order section, all available workflow variables are shown. If the user removes one variable from the list and then clicks "Modify Variables" again, JOC creates a duplicate entry for the first variable in the list—regardless of its type.

      Steps to Reproduce:

      • Create a workflow with the following workflow variables: test1 (String type), test2 (Number type), and test3 (Boolean type).
      • Assign values to each of them and deploy the workflow.
      • In the workflow view, click the + icon to add an Ad-Hoc order.
      • Click Modify Variables — a list of all three variables will be shown.
      • Remove test3 from the list.
      • Click Modify Variables again.
        A duplicate entry of test1 (the first variable) appears in the GUI. [see attached image: {_}jira-Modify-Variables.png{_}]

      Desired Behavior:

      • The GUI should not create duplicate entries of any workflow variable when modifying variables from an Ad-Hoc order section.

      Attachments

        Activity

          People

            ZtRahul193 Rahul Patidar
            gautam-vadera Gautam Vadera
            Gautam Vadera Gautam Vadera
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: