[jira] Closed: (CAY-1129) ROP: CayenneContext does not unregister deleted nodes

From: Andrey Razumovsky (JIRA) ("Andrey)
Date: Fri Oct 24 2008 - 03:16:12 EDT

  • Next message: Andrey Razumovsky: "Nested context on ROP proposal"

         [ 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.
    



    This archive was generated by hypermail 2.0.0 : Fri Oct 24 2008 - 03:16:39 EDT