csdms / wmt-client

A GWT client for the CSDMS Web Modeling Tool
MIT License
0 stars 0 forks source link

Closing component with alias destroys entire ModelTree #101

Closed mdpiper closed 8 years ago

mdpiper commented 8 years ago

To reproduce:

  1. Open ChannelsDiffusiveWave
  2. Add Meteorology
  3. Add SnowDegreeDay. Note that Meteorology is added to it as an aliased component.
  4. Close the original (unaliased) Meteorology component

Expected behavior: Only the original and aliased Meteorology components are closed.

Actual behavior: The entire tree is closed. Further, the parameters for ChannelsDiffusiveWave aren't cleared from the ParameterTable.

screen shot 2016-04-22 at 3 30 00 pm

I'm pretty sure my changes in f18a24d1d8ee1a6f0e5be93f1f1465772f930460 are causing this issue.