Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 97893 invoked from network); 5 Sep 2010 17:19:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Sep 2010 17:19:13 -0000 Received: (qmail 62311 invoked by uid 500); 5 Sep 2010 17:19:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 62130 invoked by uid 500); 5 Sep 2010 17:19:12 -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 62123 invoked by uid 99); 5 Sep 2010 17:19:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 17:19:12 +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; Sun, 05 Sep 2010 17:18:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o85HIXt8023032 for ; Sun, 5 Sep 2010 17:18:33 GMT Message-ID: <31676593.33241283707113527.JavaMail.jira@thor> Date: Sun, 5 Sep 2010 13:18:33 -0400 (EDT) From: "Javier Godoy (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2739) RFC4918IfHeaderTest.testPutIfLockToken could fail with 412 Precondition Failed In-Reply-To: <4142260.33191283706875794.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-2739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Javier Godoy updated JCR-2739: ------------------------------ Priority: Trivial (was: Major) > RFC4918IfHeaderTest.testPutIfLockToken could fail with 412 Precondition Failed > ------------------------------------------------------------------------------ > > Key: JCR-2739 > URL: https://issues.apache.org/jira/browse/JCR-2739 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-webdav > Affects Versions: 2.2.0 > Reporter: Javier Godoy > Priority: Trivial > Original Estimate: 0.08h > Remaining Estimate: 0.08h > > In org.apache.jackrabbit.webdav.server.RFC4918IfHeaderTest:110 (webdav-test), > the lock request is initialized with a timeout of 1800 milliseconds, which is rounded as Timeout: Second-1 (at org.apache.jackrabbit.webdav.header.TimeoutHeader:46). > The assertion in the finally block MUST fail (412, Precondition Failed) if the lock has expired (cf. RFC 4918, Section 10.4.10). > The lock request should be initialized with a higher timeout, at least several seconds. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.