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

            shughes Steven Hughes created issue -
            shughes Steven Hughes made changes -
            Field Original Value New Value
            Attachment temp.script [ 12502 ]
            Attachment temp2.script [ 12501 ]
            shughes Steven Hughes made changes -
            Component/s Script and Function Editor (FRAC-3) [ 10550 ]
            gmatloj Linda Jun made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            gmatloj Linda Jun logged work - 22/Aug/12 10:12 PM
            • Time Spent:
              6 hours, 18 minutes
               

              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.

            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.
            gmatloj Linda Jun made changes -
            Worklog Id 11699 [ 11699 ]
            Time Spent 6 hours, 18 minutes [ 22680 ]
            Remaining Estimate 0 minutes [ 0 ]
            gmatloj Linda Jun made changes -
            Resolution Fixed [ 1 ]
            Assignee Linda Jun [ gmatloj ] Thomas Grubb [ tgrubb ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            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
            tgrubb Thomas Grubb made changes -
            Status Resolved [ 5 ] Verified [ 10002 ]
            tgrubb Thomas Grubb made changes -
            Status Verified [ 10002 ] Closed [ 6 ]
            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

            Error rendering 'com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel'. Please contact your JIRA administrators.

              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