Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 5612 invoked from network); 26 Nov 2010 15:23:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 15:23:41 -0000 Received: (qmail 8394 invoked by uid 500); 26 Nov 2010 15:23:41 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 8133 invoked by uid 500); 26 Nov 2010 15:23:38 -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 8017 invoked by uid 99); 26 Nov 2010 15:23:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 15:23:37 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 15:23:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAQFNDDp020688 for ; Fri, 26 Nov 2010 15:23:14 GMT Message-ID: <19701735.324731290784993914.JavaMail.jira@thor> Date: Fri, 26 Nov 2010 10:23:13 -0500 (EST) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2821) Consistency check/fix doesn't work with PSQL persistence manager In-Reply-To: <646717.311701290692355142.JavaMail.jira@thor> 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-2821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2821: ------------------------------- Resolution: Fixed Fix Version/s: (was: 2.1.2) 2.2.0 Assignee: Jukka Zitting Status: Resolved (was: Patch Available) Thanks! I committed a somewhat extended and modified version of the fix in revision 1039408. > Consistency check/fix doesn't work with PSQL persistence manager > ---------------------------------------------------------------- > > Key: JCR-2821 > URL: https://issues.apache.org/jira/browse/JCR-2821 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 2.1.2 > Environment: PostgreSQL for persistence manager > Reporter: Omid Milani > Assignee: Jukka Zitting > Priority: Minor > Fix For: 2.2.0 > > Attachments: jackrabbit-psql.patch > > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > PSQL doesn't save blobs directly into table row, instead saves a link there and puts the binary stream somewhere else. The general consistency check method in BundleDBPersistenceManager doesn't take this into account. > I've fixed this by changing getBytes(Blob) method in BundleDbPersistenceManager to getBytes(ResultSet) and overriding it for PSQL. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.