Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 44179 invoked from network); 23 Mar 2010 09:28:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 09:28:50 -0000 Received: (qmail 17583 invoked by uid 500); 23 Mar 2010 09:28:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 17365 invoked by uid 500); 23 Mar 2010 09:28:49 -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 17358 invoked by uid 99); 23 Mar 2010 09:28:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 09:28:48 +0000 X-ASF-Spam-Status: No, hits=-1105.1 required=10.0 tests=ALL_TRUSTED,AWL 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, 23 Mar 2010 09:28:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D378234C1EF for ; Tue, 23 Mar 2010 09:28:27 +0000 (UTC) Message-ID: <1409429408.429791269336507184.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 09:28:27 +0000 (UTC) From: "Sreekanth S Nair (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (OCM-42) OCM Versioning is not working as expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 OCM Versioning is not working as expected ----------------------------------------- Key: OCM-42 URL: https://issues.apache.org/jira/browse/OCM-42 Project: Jackrabbit OCM Issue Type: Bug Reporter: Sreekanth S Nair I have an OCM class as given belwo @Node(jcrMixinTypes =JcrConstants.MIX_VERSIONABLE) public class XYZ { @Field(path=true) private String path; @Field private String docContent; // and their closure methods } Then i have created a root node as /domainName/moduleName and set XYZ's path value as /domainName/moduleName/documents. I can able to insert and update the XYZ Objects successfully (i'm doing ocm checkout and checkin at object update time) but when try to get the version i'm always getting root version (means the XYZ object value on update time). I'm unable to get the base version (means the XYZ object value on insert time). If its not a bug...Please direct me how to extract version history. fyi : i used ocm.getObject("/domainName/moduleName/documents","1.0") to get the value. i've worked based on apache jackrabbit OCM version mgmt site example but didn't work for me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.