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

Behavior of empty reference arrays is inconsistent

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P1
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Windows 7 Enterprise 64-bit
      2012-11-28 build

      Description

      The syntax "field = {}" behaves differently for each resource:

      • Barycenter.BodyNames: resets to default
      • ForceModel.PointMasses: nothing
      • ForceModel.PrimaryBodies: resets to default
      • Formation.Add: not allowed
      • GroundTrackPlot.Add: empties list
      • ImpulsiveBurn.Tank: not allowed
      • ReportFile.Add: not allowed
      • Spacecraft.Tanks: not allowed
      • Spacecraft.Thrusters: not allowed
      • Thruster.Tank: not allowed
      • XYPlot.YVariables: not allowed

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              No work has yet been logged on this issue.

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: