[JIRA] Created: (CAY-542) Re-registered objects loose their relationships

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri May 05 2006 - 11:34:53 EDT

  • Next message: Andrus Adamchik: "Re: Bug in auto-DC registration?"

    Re-registered objects loose their relationships
    -----------------------------------------------

             Key: CAY-542
             URL: http://issues.apache.org/cayenne/browse/CAY-542
         Project: Cayenne
            Type: Bug

      Components: Cayenne Core Library
        Versions: 1.2 [BETA]
        Reporter: Andrus Adamchik
     Assigned to: Andrus Adamchik
         Fix For: 1.2 [BETA]

    since I already have a fix, I figured I'd open the issue myself. Here is the description:

    http://objectstyle.org/cayenne/lists/cayenne-devel/2006/05/0023.html

    Essentially the problem was that re-registered objects lost their relationship data. The fix included adding functionality that I wanted to hold off until after 1.2, but since there is no other way to fix the bug, I added it now. It includes traversal of an object graph of an object being registered, registering all attached transient objects.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Fri May 05 2006 - 11:35:33 EDT