Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

This may be best taken care of by using Ice's protected? metadata.

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64694 sec.)

We're Hiring!