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

Save/Sync/Run Doesn't Save Script and Runs Old Version of Script

    Details

      Description

      This bug occurs when clicking save/sync/run on an inactive script.

      + load both scripts into open script editors and configure so that temp.script is the active script
      + in the script editor for temp2, change line 152 to this
      GMAT x = 55;
      + Click save/sync/run for temp2
      + When pop occurs asking to load temp2 into GUI, click yes
      + Go to the mission sequence and open the dialog box for ScriptEvent1

      notice it says: GMAT x = 7.7;

      + If you click close on script editor for temp2 you get a message saying there are unsaved changes.

      This shows that GMAT did not save and load the changes, it ran the old script.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            tgrubb Thomas Grubb added a comment -

            Meant to say verified with 2012-10-26 build

            Show
            tgrubb Thomas Grubb added a comment - Meant to say verified with 2012-10-26 build
            Hide
            tgrubb Thomas Grubb added a comment -

            Verified with 2012-11-01 build

            Show
            tgrubb Thomas Grubb added a comment - Verified with 2012-11-01 build
            Hide
            gmatloj Linda Jun added a comment -

            Updated GmatSavePanel to set script dirty if user wants to make modified inactive script to active script by sync/save or sync/save/run in OnSave() so that script can be saved first.
            Fix should be in 2012-08-23 build or later.

            Show
            gmatloj Linda Jun added a comment - Updated GmatSavePanel to set script dirty if user wants to make modified inactive script to active script by sync/save or sync/save/run in OnSave() so that script can be saved first. Fix should be in 2012-08-23 build or later.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 18 minutes
                  6h 18m