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 #143 (closed)

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

Update failure on saving an array which contains overlapping graphs.

Reported by: jamoore Owned by: jamoore
Priority: critical Cc:
Sprint: n.a.
Total Remaining Time: n.a.


Currently the process of unloading already merged entities has a flaw that appears if the same (==) entity is contained in more than 2 calls to filter.filter().

This can be shown with the trivial:

  SomeEnum[] arr = new SomeEnum[3];
  arr[0] = new SomeEnum();
  arr[0].setValue( "test" );
  arr[1] = arr[0];
  arr[2] = arr[1];
  iUpdate.saveArray( arr );

Change History (3)

comment:1 Changed 14 years ago by jmoore

This was caused (closed in r697) by Details having too many responsibilities. As a persistence/security device, it was being deleted on unload, but its replacement member was there for internal book keeping. This responsibility has been moved to IObject.getGraphHolder().

comment:2 Changed 14 years ago by jmoore

  • Keywords changed from model,merge,hibernate,filter to model,merge,hibernate,filter,iteration2
  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 14 years ago by jmoore

r698 contains a failing test. (See URoiTest#L33)

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.72931 sec.)

We're Hiring!