From dev-return-35995-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Aug 3 09:31:07 2012 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 69DFE91BD for ; Fri, 3 Aug 2012 09:31:07 +0000 (UTC) Received: (qmail 33457 invoked by uid 500); 3 Aug 2012 09:31:06 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 33242 invoked by uid 500); 3 Aug 2012 09:31:05 -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 33201 invoked by uid 99); 3 Aug 2012 09:31:04 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 09:31:04 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id C3BF914284D for ; Fri, 3 Aug 2012 09:31:04 +0000 (UTC) Date: Fri, 3 Aug 2012 09:31:04 +0000 (UTC) From: "Alex Parvulescu (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1484439148.9467.1343986264804.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2012391233.16794.1338393625438.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (JCR-3324) TCK: GetQueryTest.testGetQuery() unnecessarily uses a same name sibling 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-3324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Parvulescu updated JCR-3324: --------------------------------- Fix Version/s: 2.5.1 > TCK: GetQueryTest.testGetQuery() unnecessarily uses a same name sibling > ----------------------------------------------------------------------- > > Key: JCR-3324 > URL: https://issues.apache.org/jira/browse/JCR-3324 > Project: Jackrabbit Content Repository > Issue Type: Sub-task > Components: jackrabbit-jcr-tests > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Fix For: 2.5.1 > > > The test case GetQueryTest.testGetQuery() first creates a node testRoot/node1: > testRootNode.addNode(nodeName1, testNodeType); > and then creates another node with the same name below: > Node stored = q.storeAsNode(testRoot + "/" + nodeName1); > This results in a same name sibling, which is later removed: > stored.remove(); > But the test case isn't about same name siblings, and could store the node under a different name instead: > Node stored = q.storeAsNode(testRoot + "/storedQuery"); -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira