Ticket #317 (closed: repoened)
Application crashed when converting 2 models consecutively
Reported by: | joeh | Owned by: | administrator |
---|---|---|---|
Priority: | normal | Milestone: | Ecopath 6: build 6.0.7 |
Component: | Database / Import | Version: | |
Severity: | minor | Keywords: | |
Cc: |
Description
How to reproduce:
- Select Georgia Strait model to convert
- After the conversion, click Back button in the Conversion Wizard
- Select Tampa Bay model to convert
Observed:
Application crashed (See exception detail below)
System.Data.ConstraintException? was unhandled
Message=Column 'ScenarioID, EcopathGroupID' is constrained to be unique. Value '1, 1' is already present.
Source=System.Data
StackTrace?:
at System.Data.UniqueConstraint?.CheckConstraint?(DataRow? row, DataRowAction? action)
at System.Data.DataTable?.RaiseRowChanging?(DataRowChangeEventArgs? args, DataRow? eRow, DataRowAction? eAction, Boolean fireEvent)
at System.Data.DataTable?.SetNewRecordWorker?(DataRow? row, Int32 proposedRecord, DataRowAction? action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)
...
Change History
comment:2 Changed 15 years ago by carieh
Hey, this one is fixed, I just wanted to confirm that if you click back and select another model BOTH will get imported/transfered to version 6. I just tried it with 3 models and I got them all to load by doing this way. They were all imported correctly. Just wanted you to know this. You can close this bug once you read this....After you are finished reading this message, it will self destruct (just kidding)
Sorry Sherman that I grabbed this one. This bug was too easy to fix.
Fixed after build 6.0.3.3