Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7A36C200C31 for ; Wed, 8 Mar 2017 16:24:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 78BCB160B83; Wed, 8 Mar 2017 15:24:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C12BB160B75 for ; Wed, 8 Mar 2017 16:24:42 +0100 (CET) Received: (qmail 55976 invoked by uid 500); 8 Mar 2017 15:24:41 -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 55966 invoked by uid 99); 8 Mar 2017 15:24:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Mar 2017 15:24:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 71C28C162D for ; Wed, 8 Mar 2017 15:24:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.701 X-Spam-Level: * X-Spam-Status: No, score=1.701 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ehBAhWaOJQP5 for ; Wed, 8 Mar 2017 15:24:40 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CFC0C5F5FD for ; Wed, 8 Mar 2017 15:24:39 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C602BE0A2B for ; Wed, 8 Mar 2017 15:24:38 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 349ED24365 for ; Wed, 8 Mar 2017 15:24:38 +0000 (UTC) Date: Wed, 8 Mar 2017 15:24:38 +0000 (UTC) From: "Konrad Windszus (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (JCRVLT-144) Unable to perform checkout due to wrong default workspace handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 08 Mar 2017 15:24:43 -0000 [ https://issues.apache.org/jira/browse/JCRVLT-144?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1590= 1395#comment-15901395 ]=20 Konrad Windszus edited comment on JCRVLT-144 at 3/8/17 3:24 PM: ---------------------------------------------------------------- In SLING-6618 we ran into the same issue, which is unfortunately not solved= by the workaround (https://github.com/apache/jackrabbit-filevault/blob/tru= nk/vault-davex/src/main/java/org/apache/jackrabbit/vault/davex/DAVExReposit= oryFactory.java#L105). Passing the empty string leads to the empty string b= eing used in https://github.com/apache/jackrabbit/blob/60f44f7d5c67c869ab4d= bc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit= /spi2davex/Spi2davexRepositoryServiceFactory.java#L128. Which in turn leads= to using the empty string in https://github.com/apache/jackrabbit/blob/60f= 44f7d5c67c869ab4dbc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/java/org/= apache/jackrabbit/spi2davex/RepositoryServiceImpl.java#L307 which doesn't s= eem valid and throws the exception in https://github.com/apache/jackrabbit/= blob/60f44f7d5c67c869ab4dbc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/j= ava/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java#L783. IMHO it = must be possible to use {{null}} as workspace name, which is no longer poss= ible due to the changes in JCR-2113. was (Author: kwin): In SLING-6618 we ran into the same issue, which is unfortunately not solved= by the workaround (https://github.com/apache/jackrabbit-filevault/blob/tru= nk/vault-davex/src/main/java/org/apache/jackrabbit/vault/davex/DAVExReposit= oryFactory.java#L105). Passing the empty string leads to the empty string b= eing used in https://github.com/apache/jackrabbit/blob/60f44f7d5c67c869ab4d= bc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit= /spi2davex/Spi2davexRepositoryServiceFactory.java#L128. Which in turn leads= to using the empty string in https://github.com/apache/jackrabbit/blob/60f= 44f7d5c67c869ab4dbc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/java/org/= apache/jackrabbit/spi2davex/RepositoryServiceImpl.java#L307 which doesn't s= eem valid and throws the exception in https://github.com/apache/jackrabbit/= blob/60f44f7d5c67c869ab4dbc7b620c5b7183a0423d/jackrabbit-spi2dav/src/main/j= ava/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java#L795. IMHO it = must be possible to use {{null}} as workspace name, which is no longer poss= ible due to the changes in JCR-2113. > Unable to perform checkout due to wrong default workspace handling > ------------------------------------------------------------------ > > Key: JCRVLT-144 > URL: https://issues.apache.org/jira/browse/JCRVLT-144 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: vlt > Affects Versions: 3.1.28, 3.1.30 > Reporter: Radu Cotescu > Assignee: Tobias Bocanegra > Fix For: 3.1.36 > > > When trying to perform a {{vlt co}} with {{vlt}} > 3.1.26 I get the follo= wing error message: > {noformat} > vlt co --force http://localhost:4502 > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=3D128= m; support was removed in 8.0 > Checkout http://localhost:4502/crx/server/-/jcr:root/ with local files us= ing root at [...]/content/src/content/jcr_root > Connecting via JCR remoting to http://localhost:4502/crx/server > [ERROR] checkout: org.apache.jackrabbit.vault.vlt.VltException: Unable to= mount filesystem > caused by: javax.jcr.lock.LockException: Precondition Failed > caused by: org.apache.jackrabbit.webdav.DavException: Precondition Fail= ed > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)