Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 58832 invoked from network); 3 Oct 2005 16:17:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2005 16:17:11 -0000 Received: (qmail 88669 invoked by uid 500); 3 Oct 2005 16:17:09 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 88651 invoked by uid 99); 3 Oct 2005 16:17:08 -0000 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; Mon, 03 Oct 2005 09:17:08 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id CA5C1E1 for ; Mon, 3 Oct 2005 18:16:47 +0200 (CEST) Message-ID: <1814671457.1128356207826.JavaMail.jira@ajax.apache.org> Date: Mon, 3 Oct 2005 18:16:47 +0200 (CEST) From: "Tobias Strasser (JIRA)" To: jackrabbit-dev@incubator.apache.org Subject: [jira] Created: (JCR-237) Item.isNew() does not work correctly within a transaction 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 Item.isNew() does not work correctly within a transaction --------------------------------------------------------- Key: JCR-237 URL: http://issues.apache.org/jira/browse/JCR-237 Project: Jackrabbit Type: Bug Environment: r293331 Reporter: Tobias Strasser javadoc on Item.isNew() states: * Returns true if this is a new item, meaning that it exists only in transient * storage on the Session and has not yet been saved. Within a transaction, * isNew on an Item may return false (because the item * has been saved) even if that Item is not in persistent storage (because the * transaction has not yet been committed). but currently, Item.isNew() returns "true" after beeing saved in a transaction. -- 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