Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-1576

Script Editor | script is lost on saving after switching file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Critical
    • Resolution: Fixed
    • 6.29.0
    • 6.30.1
    • Script Editor
    • None
    • SR4J Sprint 103
    • 3.3

    Description

      Steps to Reproduce

      Provide a detailed step-by-step process to reproduce the problem.

      1. Edit a script in Script Editor.
      2. Without saving, click on another script on the side bar.
      3. A prompt will ask to "Save current file before switching file?", click "Save". This will switch to the other script.
      4. Click the first script. Script is blank.

      Expected Behaviour

      Script is saved properly.

      Actual Behaviour

      Script is lost. Blank script is shown.

      Workaround

      Click "Cancel" on the prompt and save using the "Save" button provided at the top of the editor.

      Additional Info

      Reproduced the issue in ScriptRunner version 6.28.0, but not in version 6.27.0

      Screen Recording

      Script lost on saving after switching file.mov

      Attachments

        Issue Links

          Activity

            People

              dluksza Dariusz Luksza [X] (Inactive)
              mlim Max Lim
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: