Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 87434 invoked from network); 22 May 2009 09:58:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 May 2009 09:58:02 -0000 Received: (qmail 61997 invoked by uid 500); 22 May 2009 09:58:15 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 61954 invoked by uid 500); 22 May 2009 09:58:15 -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 61944 invoked by uid 99); 22 May 2009 09:58:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 09:58:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andrew.r.jaquith@gmail.com designates 209.85.219.172 as permitted sender) Received: from [209.85.219.172] (HELO mail-ew0-f172.google.com) (209.85.219.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2009 09:58:04 +0000 Received: by ewy20 with SMTP id 20so1814600ewy.12 for ; Fri, 22 May 2009 02:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:references; bh=e/tOtQzL8/8EdpnZ35Z2z62iwMbycYJTbb33b7T0kEs=; b=qsPhffh/IlIw8ClZ3b+/EVclaesx96YucH3xNKSgdluGq7hlx19u/yRlMpRCDno77w RRTC/QGqiMINLm6pnMLxB6BZZTnKKUQpT9k3fymkdc/yaFza//6LPI26xUmsxlDFSGDP GyhbrLaEqnLSgUhWUm2iIqK1QH/syxWRmq6OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date :references; b=l5uOcYTRwrtaRDiJo0qcKZr2TABsLzL6o9+a59Gtgz6UZAuQOObdME1efQoB/GCD2S MyCC+CNYW6ynVTkl3Si51U/HIoucN452m2icokQxta1OTEDEEZNLR84RhaAa1ImImKqz akTmyLzT6OIPAoZL3IaOODeSSUJMYFjlDnO4c= Received: by 10.210.37.16 with SMTP id k16mr4575203ebk.22.1242986264496; Fri, 22 May 2009 02:57:44 -0700 (PDT) Received: from ?10.17.157.247? ([32.148.41.144]) by mx.google.com with ESMTPS id 7sm1369342eyg.37.2009.05.22.02.57.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 May 2009 02:57:42 -0700 (PDT) Message-Id: <273B8ED9-6A6D-4922-99DB-ACC0392E911E@gmail.com> From: Andrew Jaquith To: JSPWiki developers In-Reply-To: <01DD91F8-E431-4AFD-8B5B-290295E9FAE8@ecyrd.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5H11) Mime-Version: 1.0 (iPhone Mail 5H11) Subject: Re: WikiContext switcheroos in Tag classes Date: Fri, 22 May 2009 04:57:39 -0500 References: <65502736-5288-4C79-B8EA-BF0782C00338@ecyrd.com> <01DD91F8-E431-4AFD-8B5B-290295E9FAE8@ecyrd.com> X-Virus-Checked: Checked by ClamAV on apache.org HAH! I found the bastard. It's a cloning issue. WikiActionBeanContext wasn't cloning it's delegate DefaultWikiContext. Anyway, while I was at it, I refactored all of the iterator tags, whacking about 2/3 of the code (rampant cut-n-paste jobs). What I'll check in later will be lean, clean and documented. :) Andrew On May 21, 2009, at 14:20, Janne Jalkanen wrote: > > It's likely that there is overlap in these techniques :-) > > /janne, typing one-handedly > > On 21 May 2009, at 21:03, Andrew Jaquith wrote: > >>> My guess is that some of your other modifications are causing >>> problems with >>> the page names - on 2.8.x, the AttachmentsIteratorTag seems to be >>> working >>> perfectly. Or maybe I misunderstood your problem? >> >> Yep, no question about it. Something isn't working as intended. I'll >> need to dig a bit to figure out what's going on. I'm going to be >> looking at a few issues: when m_wikiContext is actually changed; when >> ATTR_WIKICONTEXT is set, and when WikiContext.setPage() is called. >> Any >> of these three activities could be where the problem lies. >> >> Andrew >