Ticket #1991 (closed defect: moved)

Opened 7 years ago

Overlay serialization is broken

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0.0
Component: Data Model Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1012


Overlays currently can be serialized and restored via a writeExternal() and readExternal() approach. However this approach requires that the serialized object has a no arg constructor. Currently the Data constructors all require at least 1 argument to the constructor. Until recently we were passing null as an argument safely. But with recent changes to the data type hierarchy this fake no arg approach fails and the test code in TestBinaryMaskOverlay began failing. I have commented out this test for now as we are not sure how we want to handle serialization going forward. We should figure out how we will support serialization of overlays and restore the commented out test,

Change History

comment:1 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.