Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2177

The workflow becomes a draft even though no changes have been configured

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 2.7.8, 2.8.3
    • None
    • None

    Description

      Current Situation

      The value of an argument, node argument or environment variable of a workflow job is an expression.
      If this value is empty than it is stored in the JSON as

      "my_param_with_empty_value": "\"\""
      

      If the GUI reads "my_param_with_empty_value" then it interprets it as "" instead of "\"\"" and incorrectly assumes that the configuration has been changed.
      As a result, the configuration is saved again, causing a deployed workflow to change to draft status even though no changes have been made to the configuration.

      Desired Behavior

      Only changed configurations should be stored again.

      Attachments

        Activity

          People

            ZtRahul193 Rahul Patidar (Inactive)
            oh Oliver Haufe
            Ajay Kumbhkar Ajay Kumbhkar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: