Bug #143 (closed)
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. |
Description
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 18 years ago by jmoore
comment:2 Changed 18 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 18 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.
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().