[ 
https://issues.apache.org/cayenne/browse/CAY-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Razumovsky closed CAY-1129.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Fixed

> ROP: CayenneContext does not unregister deleted nodes
> -----------------------------------------------------
>
>                 Key: CAY-1129
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1129
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrey Razumovsky
>            Assignee: Andrey Razumovsky
>             Fix For: 3.0
>
>
> This test fail:
> public class CayenneContextDeletionTest extends RemoteCayenneCase {
>     public void test() {
>         ClientMtTable1 obj = context.newObject(ClientMtTable1.class);
>         context.commitChanges();
>         
>         context.deleteObject(obj);
>                 
>         context.commitChanges();
>         //now check that the object is unregistered
>         assertNull(context.getGraphManager().getNode(obj.getObjectId()));
>     }
> }
> BTW same thing with DataContext works

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to