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 B8C26D967 for ; Thu, 30 Aug 2012 14:00:18 +0000 (UTC) Received: (qmail 27858 invoked by uid 500); 30 Aug 2012 14:00:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 27817 invoked by uid 500); 30 Aug 2012 14:00:18 -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 27809 invoked by uid 99); 30 Aug 2012 14:00:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Aug 2012 14:00:18 +0000 Date: Fri, 31 Aug 2012 01:00:18 +1100 (NCT) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1370784048.16578.1346335218329.JavaMail.jiratomcat@arcas> In-Reply-To: <610143909.44702.1326721599821.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JCR-3208) locking a node twice yields the same lock token 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-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444967#comment-13444967 ] Julian Reschke commented on JCR-3208: ------------------------------------- Gazi, right now nobody is working on this. > locking a node twice yields the same lock token > ----------------------------------------------- > > Key: JCR-3208 > URL: https://issues.apache.org/jira/browse/JCR-3208 > Project: Jackrabbit Content Repository > Issue Type: Task > Components: jackrabbit-core, locks > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Minor > Attachments: JCR-3208.diff, JCR-3208.diff > > > Due to the way jackrabbit assigns lock tokens, the same lock token is generated every time a node is locked. > This seems to contradict a JCR requirement: > "A lock token is a string that uniquely identifies a particular lock and acts as a key granting lock ownership to any session that hold the token." > ...in that two subsequent locks on the same node get the same token. > (This may be harmless but we should consider fixing this for compliance reasons) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira