Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 36609 invoked from network); 25 Mar 2006 18:16:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Mar 2006 18:16:45 -0000 Received: (qmail 59353 invoked by uid 500); 25 Mar 2006 18:16:44 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 59342 invoked by uid 99); 25 Mar 2006 18:16:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2006 10:16:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Mar 2006 10:16:44 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D8F63D4A00 for ; Sat, 25 Mar 2006 18:16:22 +0000 (GMT) Message-ID: <492206368.1143310582886.JavaMail.jira@ajax> Date: Sat, 25 Mar 2006 18:16:22 +0000 (GMT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-347) JPOX fails some lifecycle tests In-Reply-To: <2018871922.1143102240849.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-347?page=comments#action_12371865 ] Andy Jefferson commented on JDO-347: ------------------------------------ I would like some input into StateTransitionsReturnedObjects. Let's take this message :- [java] Assertions A5.9-1 through A5.5.8 (serialization, detachment, attachment) failed: [java] StateTransitionsReturnedObjects: datastore transaction; current state transient-clean [java] serialize with active tx returned instance in invalid state detached-clean; expected state transient Looking at the test it takes a transient-clean instance (in a txn) and serialises it and then deserialises the serialised object. The end result object will have the detached state present and no StateManager. Consequently it will be detached. Why is the expectation "transient" ? What am I missing ? ;-) > JPOX fails some lifecycle tests > ------------------------------- > > Key: JDO-347 > URL: http://issues.apache.org/jira/browse/JDO-347 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Martin Zaun > Attachments: errors_state_transition_argument_instances.txt, errors_state_transition_returned_instances.txt > > The integration of fixes for JDO-273 and JDO-258 has added (and fixed) a number of lifecycle test cases that are > failed by JPOX. See attached error messages. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira