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 EC15210C89 for ; Mon, 11 Nov 2013 09:29:40 +0000 (UTC) Received: (qmail 2316 invoked by uid 500); 11 Nov 2013 09:29:32 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 2216 invoked by uid 500); 11 Nov 2013 09:29:22 -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 2184 invoked by uid 99); 11 Nov 2013 09:29:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 09:29:18 +0000 Date: Mon, 11 Nov 2013 09:29:18 +0000 (UTC) From: "Bertrand Delacretaz (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (JCR-3692) MoveAtRootTest fails and is not included in test suite MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bertrand Delacretaz created JCR-3692: ---------------------------------------- Summary: MoveAtRootTest fails and is not included in test suite Key: JCR-3692 URL: https://issues.apache.org/jira/browse/JCR-3692 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-core Reporter: Bertrand Delacretaz Priority: Minor The MoveAtRootTest introduced by JCR-2680 fails when executed against the current jackrabbit-core trunk (mvn clean test -Dtest=MoveAtRootTest), with "javax.jcr.RepositoryException: Attempt to remove/move the admin user". The operation that fails is Session.move("/MoveAtRootTest_A", "/MoveAtRootTest_B") AFAICS this is caused by the JCR-3686 changes. The same test passes on the http://svn.apache.org/repos/asf/jackrabbit/tags/2.6.4 revision. I'll attach a patch that includes the test in the core test suite. If there's a good reason to forbid such a move, it should be documented and the test changed to reflect the expected behavior. -- This message was sent by Atlassian JIRA (v6.1#6144)