Ticket #180 (assigned assessed: open)
Auxillary data not copied when saving a scenario under a new name
Reported by: | jeroens | Owned by: | jeroens |
---|---|---|---|
Priority: | normal | Milestone: | NOT SET |
Component: | Overall GUI | Version: | |
Severity: | major | Keywords: | |
Cc: |
Description
When saving an Ecosim or Ecospace scenario under a new name, existing remarks (Ecosim and Ecospace) and exsting visual styles (Ecospace layers) do not show up in the new scenario
Change History
comment:2 Changed 15 years ago by jeroens
- Type changed from not assessed to assessed
The bug is an immediate artifact of the way remarks are linked to objects in the database.
The fact that remark links cannot be figured out on datasource level is a fundamental flaw to this system. This system needs thorough refactoring by forcing a linkage based on object type + DBID + optional secondary index, not via a meaningless and arbitrary string. However, the string approach allowed maximum flexibility.
A work-around would be to make the scenario save logic copy remarks. This will not be a solid solution; eventually datasources must be able to deal with this properly.
This issue will also occur when trying to copy Ecospace visual styles.
comment:3 Changed 15 years ago by shermanl
- Milestone changed from Ecopath 6: build 6.0.7 to Ecopath 6: build 6.0.8
comment:4 Changed 15 years ago by jeroens
Auxillary data needs to be tied to a model and scenario (sim, space, tracer) or time series (dataset or series)
comment:5 Changed 15 years ago by jeroens
Implemented, but needs further testing. Especially Ecospace visual styles need deep assessment.
comment:6 Changed 15 years ago by jeroens
- Summary changed from Remarks not copied when saving a scenario under a new name to Auxillary data not copied when saving a scenario under a new name