[OS-JIRA] Created: (CAY-298) Serialization behaviour of DataObject wrt its DataContext can be confusing

From: jira-norepl..bjectstyle.org
Date: Wed Mar 30 2005 - 21:57:18 EST

  • Next message: Andrus Adamchik: "Re: cayenne: firebird generators"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-298

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-298
        Summary: Serialization behaviour of DataObject wrt its DataContext can be confusing
           Type: Improvement

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.1

       Assignee: Andrus Adamchik
       Reporter: Craig Turner

        Created: Wed, 30 Mar 2005 9:55 PM
        Updated: Wed, 30 Mar 2005 9:55 PM
    Environment: Linux, jetty, tapestry 3.0.2

    Description:
    It seems that when a dataobject deserializes, whether or not it gets a datacontext depends on whether or not a datacontext is deserialized at the same time. This comes across as odd behaviour to someone in my situation.

    Here is a summary of the situation. There is a web application in tapestry and each user has a DataContext stored in their session. On a dynamic page, tapestry displays a report where each line is a DirectLink referencing a DataObject (via the parameter binding). When the user clicks on the link, you expect it to be passed through with its dataobject intact, but in fact it gets dropped.

    It would be practical to have the option of having the DataObject keep its DataContext.

    Andrus noted

    --
    "This is related to how deserialization is performed"
    

    link: http://objectstyle.org/cayenne/lists/cayenne-user/2005/03/0105.html

    "I don't think we have a JIRA issue though. Can you please submit a report, or otherwise it'll get lost again."

    --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators: http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Wed Mar 30 2005 - 21:57:21 EST