[jira] Closed: (CAY-1103) rollbackChanges is broken in ROP CayenneContext

From: Andrey Razumovsky (JIRA) ("Andrey)
Date: Thu Oct 09 2008 - 11:34:11 EDT

  • Next message: Andrey Razumovsky (JIRA): "[jira] Commented: (CAY-1118) ROP: setToXXX(null) does not update reverse rel"

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

    Andrey Razumovsky closed CAY-1103.
    ----------------------------------

        Resolution: Fixed

    Fixed

    > rollbackChanges is broken in ROP CayenneContext
    > -----------------------------------------------
    >
    > Key: CAY-1103
    > URL: https://issues.apache.org/cayenne/browse/CAY-1103
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrey Razumovsky
    > Fix For: 3.0
    >
    >
    > This test fails:
    >
    > ClientMtTable1 o = context.newObject(ClientMtTable1.class);
    > o.setGlobalAttribute1("1");
    > context.commitChanges();
    >
    > assertEquals("1", o.getGlobalAttribute1());
    > o.setGlobalAttribute1("2");
    > assertEquals("2", o.getGlobalAttribute1());
    > context.rollbackChanges();
    > assertEquals("1", o.getGlobalAttribute1());
    >

    -- 
    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 : Thu Oct 09 2008 - 11:35:08 EDT