Bug #732 (closed)
Opened 17 years ago
Closed 15 years ago
Nulling of sequences in C++ isn't working.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
Currently the following is passing:
BOOST_AUTO_TEST_CASE( Sequences ) { Fixture f; ImageIPtr img = new ImageI(); BOOST_CHECK( img->annotationsLoaded ); img->annotations.push_back((ImageAnnotationPtr)0); img->unload(); BOOST_CHECK( !img->annotationsLoaded ); img->annotations.push_back((ImageAnnotationPtr)0); // TODO This should fail with NPE! }
Change History (4)
comment:1 Changed 16 years ago by jmoore
comment:2 Changed 16 years ago by jmoore
Added failing test in r2215
comment:3 Changed 16 years ago by jmoore
- Milestone changed from 3.0-Beta3 to 3.0-Beta4
- Priority changed from minor to major
comment:4 Changed 15 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Fixed with #1106 - now using protected as of OmeroBlitz migration.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
This may be best taken care of by using Ice's protected? metadata.