Issue Details (XML | Word | Printable)

Key: NUCCORE-725
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Delete of detached object should delete the object, but does nothing

Created: 23/Jun/11 03:08 PM   Updated: 01/Aug/11 10:23 AM   Resolved: 23/Jun/11 03:13 PM
Component/s: Lifecycles, Persistence
Affects Version/s: 2.2.4, 3.0.0.m5
Fix Version/s: 3.0.0.m6


 Description  « Hide
If we call pm.deletePersistent(detached) this then tries to get the StateManager for the object and delete it. If the StateManager is not found (i.e detached) then it does nothing!. Need to find an attached variant of the detached object and delete it.

Andy Jefferson added a comment - 23/Jun/11 03:13 PM
SVN trunk fixes this

Andy Jefferson made changes - 23/Jun/11 03:13 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Aug/11 10:23 AM
Status Resolved [ 5 ] Closed [ 6 ]