Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6938D95CF for ; Mon, 31 Oct 2011 16:11:54 +0000 (UTC) Received: (qmail 28848 invoked by uid 500); 31 Oct 2011 16:11:54 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 28771 invoked by uid 500); 31 Oct 2011 16:11:53 -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 28608 invoked by uid 99); 31 Oct 2011 16:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 16:11:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 16:11:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9AF2232A840 for ; Mon, 31 Oct 2011 16:11:32 +0000 (UTC) Date: Mon, 31 Oct 2011 16:11:32 +0000 (UTC) From: "Julian Reschke (Resolved) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1332305044.41219.1320077492636.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <798940724.10584.1319033170965.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (JCR-3121) InternalVersionManagerBase.getVersionHistoryOfNode should throw InconsistentVersioningState when it encounters a runtime exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke resolved JCR-3121. --------------------------------- Resolution: Won't Fix Not needed anymore due to changes done with respect to JCR-3115. > InternalVersionManagerBase.getVersionHistoryOfNode should throw InconsistentVersioningState when it encounters a runtime exception > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: JCR-3121 > URL: https://issues.apache.org/jira/browse/JCR-3121 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core, versioning > Reporter: Julian Reschke > Assignee: Julian Reschke > Fix For: 2.2.10 > > Attachments: JCR-3121.patch > > > When the versioning persistence is inconsistent (such as broken hierarchy in intermediary nodes), various calls in getVersionHistoryOfNode might fail with runtime exceptions. > Catch those and report InconsistentVersioningState instead, supplying the node id of the version history; this will enable the versioning fixup to move away the version history (see JCR-3115). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira