Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 96482 invoked from network); 4 Oct 2006 20:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 20:18:35 -0000 Received: (qmail 22718 invoked by uid 500); 4 Oct 2006 20:18:34 -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 22453 invoked by uid 99); 4 Oct 2006 20:18:33 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 13:18:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:39326] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 86/33-20288-91714254 for ; Wed, 04 Oct 2006 13:18:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E36317142D1 for ; Wed, 4 Oct 2006 13:18:21 -0700 (PDT) Message-ID: <27993314.1159993101929.JavaMail.root@brutus> Date: Wed, 4 Oct 2006 13:18:21 -0700 (PDT) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-419) StateTransitions incorrectly asserts that field access in a deleted instance will throw an exception In-Reply-To: <15375783.1157531722283.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-419?page=comments#action_12439956 ] Michael Bouschen commented on JDO-419: -------------------------------------- The patch looks good! > StateTransitions incorrectly asserts that field access in a deleted instance will throw an exception > ---------------------------------------------------------------------------------------------------- > > Key: JDO-419 > URL: http://issues.apache.org/jira/browse/JDO-419 > Project: JDO > Issue Type: Bug > Components: tck20 > Affects Versions: JDO 2 final > Reporter: Marc Prud'hommeaux > Assigned To: Craig Russell > Priority: Minor > Attachments: JDO-419.patch, JDO-419.patch > > > The series of states marked with "read field with active datastore transaction" (element 14 of the "transitions" field of org.apache.jdo.tck.lifecycle.StateTransitions) asserts that accessing a field of a deleted instance will throw an exception. However, this is not mandated by the spec, only suggested that it might happen. Section 5.5.6 reads: "Any other access to persistent fields is not supported and might throw a JDOUserException". > The only easy fix is to just remove the "read field with active datastore transaction" test specifications. -- 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