Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 10406 invoked from network); 12 Oct 2009 13:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Oct 2009 13:43:20 -0000 Received: (qmail 43711 invoked by uid 500); 12 Oct 2009 13:43:20 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 43675 invoked by uid 500); 12 Oct 2009 13:43:20 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 43665 invoked by uid 99); 12 Oct 2009 13:43:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 13:43:20 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harry.metske@gmail.com designates 209.85.218.227 as permitted sender) Received: from [209.85.218.227] (HELO mail-bw0-f227.google.com) (209.85.218.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Oct 2009 13:43:17 +0000 Received: by bwz27 with SMTP id 27so1962583bwz.12 for ; Mon, 12 Oct 2009 06:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NFsJBiLyCyX90EyghnONE6F0ieotOGZ9869e3ytt4Y0=; b=NixUjWlkfMXGb0E5g55rmi+dj5VCK56McWRfOTA0iZB1FZuIj2tx0m0hmRSibSAl5R K3p6HdXw3BHCy/cPzgK2z2RrT4xaWUr11qJK8hH7GEEuAacthh/0H7wrg2Yrijkbt0MW 21twZ7+4zaCTLfKOhH1NGIraCwOsWH7OETxyQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mua760tDdja6+rzLXyaV3Gzos6kHs2634XYzXbc2Ejh2RumcoJWpjma201xXuTZyqB RAbaNSqb/6g89/8TnYQxtilMUbg4i7VQKbajDQizlvMfdwjXf9jbiBgYPuaRUpKUrzqj 4tJNWmbVtiSEXF9gwOMv8EHfAvMRVc62R1FvU= MIME-Version: 1.0 Received: by 10.204.7.153 with SMTP id d25mr5005539bkd.70.1255354975953; Mon, 12 Oct 2009 06:42:55 -0700 (PDT) In-Reply-To: <8A60A2CC-2969-4B4B-93E6-E3E6A3BC3BA6@ecyrd.com> References: <8A60A2CC-2969-4B4B-93E6-E3E6A3BC3BA6@ecyrd.com> Date: Mon, 12 Oct 2009 15:42:55 +0200 Message-ID: <3a6c97f00910120642x33abedd2q442cf3a9093be93f@mail.gmail.com> Subject: Re: Page renaming weirdness From: Harry Metske To: jspwiki-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=00151758a67868a3b90475bd1b02 --00151758a67868a3b90475bd1b02 Content-Type: text/plain; charset=UTF-8 I almost checked in that priha version yesterday :-) Should I wait, or commit that one in ? I kept some test-stats BTW: http://people.apache.org/~metskem/tests/jspwiki-testresult.html (you can see the good results from Andrew's work the last few days) regards, Harry 2009/10/12 Janne Jalkanen > > Yup, this is a known problem in 0.3.2... Should be fixed in the current > trunk. > > /Janne > > > On Oct 12, 2009, at 07:48 , Andrew Jaquith wrote: > > Janne, I'm digging into more bugs... >> >> The page-renamer tests haven't worked for a while. I think I know why. >> >> ContentManager.renamePage(WikiContext, fromPage, toPage) has a bug. >> Specifically, after this code executes: >> >> getCurrentSession().move( getJCRPath( fromPage ), >> getJCRPath( toPage ) ); >> getCurrentSession().save(); >> >> ...fromPage is still accessible after this point. I.e., >> engine.getPage(fromPage) returns a valid page. Moreover, it shares the >> same JCR UUID as the toPage. That would suggest that something isn't >> getting cleaned up properly inside of Priha SessionImpl.move(). >> >> Of the 18 failing PageRenamerTest tests, fixing this bug would >> probably get rid of 15 of them. >> >> Thoughts? >> >> Andrew >> > > --00151758a67868a3b90475bd1b02--