From jdo-dev-return-4882-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Wed Sep 13 00:13:50 2006 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 15171 invoked from network); 13 Sep 2006 00:13:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2006 00:13:49 -0000 Received: (qmail 93794 invoked by uid 500); 13 Sep 2006 00:13:49 -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 93783 invoked by uid 99); 13 Sep 2006 00:13:49 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 17:13:49 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:39330] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id B4/20-06304-94D47054 for ; Tue, 12 Sep 2006 17:14:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C0124714370 for ; Wed, 13 Sep 2006 00:10:22 +0000 (GMT) Message-ID: <19280453.1158106222769.JavaMail.jira@brutus> Date: Tue, 12 Sep 2006 17:10:22 -0700 (PDT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Assigned: (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=all ] Craig Russell reassigned JDO-419: --------------------------------- Assignee: Craig Russell > 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 > > > 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