Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 47316 invoked from network); 24 Mar 2009 20:34:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 20:34:14 -0000 Received: (qmail 56775 invoked by uid 500); 24 Mar 2009 20:34:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 56722 invoked by uid 500); 24 Mar 2009 20:34:13 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 56714 invoked by uid 99); 24 Mar 2009 20:34:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 20:34:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 20:34:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80F4D234C003 for ; Tue, 24 Mar 2009 13:33:50 -0700 (PDT) Message-ID: <1217097694.1237926830514.JavaMail.jira@brutus> Date: Tue, 24 Mar 2009 13:33:50 -0700 (PDT) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-1996) Handle date values in the far future or prevent these from being persisted In-Reply-To: <116047944.1235481121868.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marcel Reutegger resolved JCR-1996. ----------------------------------- Resolution: Fixed Fix Version/s: 1.6.0 Committed patch in revision: 758003 > Handle date values in the far future or prevent these from being persisted > -------------------------------------------------------------------------- > > Key: JCR-1996 > URL: https://issues.apache.org/jira/browse/JCR-1996 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: indexing, jackrabbit-core, jackrabbit-jcr-commons > Affects Versions: 1.5.3 > Reporter: Martijn Hendriks > Fix For: 1.6.0 > > Attachments: JCR-1996.patch, JCR-1996.patch > > > Setting a date property with a value in the far future (e.g., the year 20009) and saving the session causes the index component to throw an exception (see the DateField#timeToString method). Furthermore, when the repository is restarted, the properties' value cannot be retrieved anymore because of a ValueFormatException caused by an empty value. Restarting the repository with an empty search index does not work because indexing fails. I haven't looked into the effect on queries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.