Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 74611 invoked from network); 11 Aug 2006 19:52:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Aug 2006 19:52:05 -0000 Received: (qmail 54672 invoked by uid 500); 11 Aug 2006 19:52:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 54651 invoked by uid 500); 11 Aug 2006 19:52:03 -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 54642 invoked by uid 99); 11 Aug 2006 19:52:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 12:52:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Aug 2006 12:52:02 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E3D8F7142C9 for ; Fri, 11 Aug 2006 19:49:14 +0000 (GMT) Message-ID: <12663056.1155325754930.JavaMail.jira@brutus> Date: Fri, 11 Aug 2006 12:49:14 -0700 (PDT) From: "David Pitfield (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Closed: (JCR-531) TCK: OrderByMultiTypeTest doesn't respect nodetype configuration property In-Reply-To: <3211361.1154720173917.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JCR-531?page=all ] David Pitfield closed JCR-531. ------------------------------ > TCK: OrderByMultiTypeTest doesn't respect nodetype configuration property > ------------------------------------------------------------------------- > > Key: JCR-531 > URL: http://issues.apache.org/jira/browse/JCR-531 > Project: Jackrabbit > Issue Type: Bug > Components: test > Reporter: David Pitfield > Fix For: 1.1 > > > OrderByMultiTypeTest creates test data by calling addNode(String). This fails if there is no default primary type. > Proposal: call addNode(String, String) > --- OrderByMultiTypeTest.java (revision 428760) > +++ OrderByMultiTypeTest.java (working copy) > @@ -43,9 +43,9 @@ > * Tests order by queries with a String property and a long property. > */ > public void testMultipleOrder() throws Exception { > - Node n1 = testRootNode.addNode(nodeName1); > - Node n2 = testRootNode.addNode(nodeName2); > - Node n3 = testRootNode.addNode(nodeName3); > + Node n1 = testRootNode.addNode(nodeName1, testNodeType); > + Node n2 = testRootNode.addNode(nodeName2, testNodeType); > + Node n3 = testRootNode.addNode(nodeName3, testNodeType); > > n1.setProperty(propertyName1, "aaa"); > n1.setProperty(propertyName2, 3); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira