From users-return-12996-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Oct 13 08:08:14 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 86325 invoked from network); 13 Oct 2009 08:08:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Oct 2009 08:08:10 -0000 Received: (qmail 67040 invoked by uid 500); 13 Oct 2009 08:08:10 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 67015 invoked by uid 500); 13 Oct 2009 08:08:10 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 66976 invoked by uid 99); 13 Oct 2009 08:08:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 08:08:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@day.com designates 207.126.148.89 as permitted sender) Received: from [207.126.148.89] (HELO eu3sys201aog103.obsmtp.com) (207.126.148.89) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 Oct 2009 08:07:59 +0000 Received: from source ([209.85.216.185]) by eu3sys201aob103.postini.com ([207.126.154.11]) with SMTP ID DSNKStQ1SQC5WfrUqSlRXzw0pCfqG1g9TlxN@postini.com; Tue, 13 Oct 2009 08:07:39 UTC Received: by pxi15 with SMTP id 15so509167pxi.26 for ; Tue, 13 Oct 2009 01:07:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.3.15 with SMTP id f15mr595594rvi.13.1255421256934; Tue, 13 Oct 2009 01:07:36 -0700 (PDT) In-Reply-To: <33A0EEB8D50198449794A1AB9DEB1E01AAB5A49814@copuex01.coreobjects.com> References: <33A0EEB8D50198449794A1AB9DEB1E01AAB5A49814@copuex01.coreobjects.com> Date: Tue, 13 Oct 2009 10:07:36 +0200 Message-ID: Subject: Re: problem in retrieving versions containing images From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Oct 13, 2009 at 09:05, Sunil Dhage wrote: > I am working on an application which should hold multiple versions of images. > While retrieving those versions I am getting all the properties but the image,what I am getting is the latest image what is stored. > > I have added img1.png , > Then I have updated it to img2.png, img3.png, img4.png. > > All are of different resolutions and sizes. > > When trying to retrieve the versions, I could get all four versions of images, but all contain img4.png only. How does your content look like? Where do you set the mix:versionable? I also wonder why you commented out the line that accesses the jcr:frozenNode child of the versions - this should be required, as this child node of nt:version holds the actual content. Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com