Ticket #7 (closed: fixed)

Opened 18 years ago

Last modified 16 years ago

Aborting a grid cell edit action on an empty cell results in a Debug assertion

Reported by: jeroens Owned by: administrator
Priority: normal Milestone: Ecopath 6: build 6.0.7
Component: Overall GUI Version:
Severity: crash Keywords:


To reproduce:

  • In the scientific interface load any model
  • In the basic inputs tab, double-click an editable cell without a value
  • Now click another cell

The GUI sends the empty value for the cell as a new value, which chokes the core

Change History

comment:1 Changed 18 years ago by joeb

ICoreInputOutput.setVariable(...) if the variable being set is not GroupName? then empty string is turned into zero. This assumes that the user want to clear the existing value.

comment:2 Changed 17 years ago by jeroens


Note: See TracTickets for help on using tickets.