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

Unintended automatic renaming

    Details

      Description

      Hello,

      I seem to have found an unintended behaviour in GMAT R2017a for Windows (i586) 64bit. Build date is 6-30-17.

      Description:
      On renaming an XYPlot, from SMA to SMASunEffect, using the GUI, the script is edited so that every instance of SMA is renamed to SMASunEffect. The "header" of the script (where resources are created) is unaltered, per design specification as I imagine.
      The unintended behavior is that my custom script is modified, from:
      {{BeginScript 'CloneSatellites'
      %Set up Keplerian Satellite
      GMAT Keplerian.SMA = Original.SMA;
      EndScript;}}
      To:
      {{BeginScript 'CloneSatellites'
      %Set up Keplerian Satellite
      GMAT Keplerian.SMASunEffect = Original.SMASunEffect;
      EndScript;}}
      Which prompts an error when running the mission, as there is no object called SMASunEffect in a spacecraft.
      Renaming the plot back to SMA makes the script work again.

      Steps to Reproduce:
      -Rename the XY Plot from SMA to SMASunEffect in the working example (BugReport.script).
      -Run the script.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            djcinsb Darrel Conway added a comment -

            Confirmed that this happens in R2018a

            Show
            djcinsb Darrel Conway added a comment - Confirmed that this happens in R2018a

              People

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

                Dates

                • Created:
                  Updated:
                  Development Build: