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

Content of job scripts should not be overwritten on change of script type

    XMLWordPrintable

Details

    • Fix
    • Status: Clarify (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 2.0.0
    • 2.7.3
    • None
    • None

    Description

      Current Situation

      • When a user selects the script type in the Job Properties tab of the Configuration View  from "Shell" to "JavaScript", then the user's shell script is overwritten. Even after switching back to the "Shell" script type it displays the JavaScript function only.

      How to reproduce

      • Create a job in a workflow
      • Write a shell script for the job.
      • Change the script type of the job to "JavaScript".
      • This will add a basic JavaScript function to the job script.
      • Now change the script type to "Shell" again.
      • The JavaScript function is still available and the shell script created is removed

      Desired Behavior

      • The contents of the shell script should not be cleared when changing the script type.

      Attachments

        1. undo-redo-.png
          33 kB
          Rahul Patidar

        Activity

          People

            ZtRahul193 Rahul Patidar
            Kanika-Agrawal Kanika Agrawal
            Gautam Vadera Gautam Vadera
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: