Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5285

GMAT Crashes When Overwrite Script with Error using Absolute Path

    Details

      Description

      1. Open GMAT and Load Script with Error (attached) - the GMAT Error message pops up.
      2. Click OK
      3. Click File > Save As and use absolute path and the same name to save the Script
      (I use: C:\Users\Public\Documents\JAZZ\trunk\test\gui\Resources\FRAC-3_ScriptEditor\ScriptEditor\Test Scripts\Events_Eclipse_SEL1.script )

      4. Click Save
      5. "Please Confirm" Dialog Box pops up. Click "Yes"
      6. GMAT is crashed.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            shughes Steven Hughes added a comment -

            We could either throw an error message that says "There is nothing to save, the mission is empty", OR save a script that only has "BeginMissionSequence"

            Show
            shughes Steven Hughes added a comment - We could either throw an error message that says "There is nothing to save, the mission is empty", OR save a script that only has "BeginMissionSequence"
            Hide
            shughes Steven Hughes added a comment -

            Look in ScriptInterpreter::WriteScript()

            Show
            shughes Steven Hughes added a comment - Look in ScriptInterpreter::WriteScript()
            Hide
            tgrubb Thomas Grubb added a comment -

            Cannot reproduce. GMAT does not crash. What is saved is this:

            %General Mission Analysis Tool(GMAT) Script
            %Created: 2015-09-28 11:47:11

            Show
            tgrubb Thomas Grubb added a comment - Cannot reproduce. GMAT does not crash. What is saved is this: %General Mission Analysis Tool(GMAT) Script %Created: 2015-09-28 11:47:11
            Hide
            troyzman Tetyana Royzman added a comment -

            It is still there.

            Show
            troyzman Tetyana Royzman added a comment - It is still there.
            Hide
            tgrubb Thomas Grubb added a comment -

            Should be in 2015-10-02 build

            Show
            tgrubb Thomas Grubb added a comment - Should be in 2015-10-02 build
            Hide
            tgrubb Thomas Grubb added a comment -

            Fixed to show a dialog, "Please fix errors before saving"

            Show
            tgrubb Thomas Grubb added a comment - Fixed to show a dialog, "Please fix errors before saving"
            Hide
            troyzman Tetyana Royzman added a comment -

            Changed the steps. No crash anymore.

            Show
            troyzman Tetyana Royzman added a comment - Changed the steps. No crash anymore.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified