DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
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

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.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 23/Jun/11 03:13 PM
SVN trunk fixes this