Return-Path: Delivered-To: apmail-incubator-jspwiki-commits-archive@minotaur.apache.org Received: (qmail 83733 invoked from network); 6 Feb 2009 17:42:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2009 17:42:45 -0000 Received: (qmail 55473 invoked by uid 500); 6 Feb 2009 17:42:45 -0000 Delivered-To: apmail-incubator-jspwiki-commits-archive@incubator.apache.org Received: (qmail 55451 invoked by uid 500); 6 Feb 2009 17:42:45 -0000 Mailing-List: contact jspwiki-commits-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-commits@incubator.apache.org Received: (qmail 55442 invoked by uid 99); 6 Feb 2009 17:42:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 09:42:45 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2009 17:42:43 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 466F4238889D; Fri, 6 Feb 2009 17:42:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r741650 - in /incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH: .classpath ChangeLog src/com/ecyrd/jspwiki/Release.java src/com/ecyrd/jspwiki/content/PageRenamer.java Date: Fri, 06 Feb 2009 17:42:22 -0000 To: jspwiki-commits@incubator.apache.org From: metskem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090206174222.466F4238889D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: metskem Date: Fri Feb 6 17:42:21 2009 New Revision: 741650 URL: http://svn.apache.org/viewvc?rev=741650&view=rev Log: 2.8.2-svn-9 JSPWIKI-477 Renamed pages are no longer in the Lucene index Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath?rev=741650&r1=741649&r2=741650&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/.classpath Fri Feb 6 17:42:21 2009 @@ -40,6 +40,6 @@ - + Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog?rev=741650&r1=741649&r2=741650&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/ChangeLog Fri Feb 6 17:42:21 2009 @@ -1,3 +1,9 @@ +2009-02-06 Harry Metske + + * 2.8.2-svn-9 + + * JSPWIKI-477 Renamed pages are no longer in the Lucene index + 2009-02-03 Dirk Frederickx * 2.8.2-svn-8 Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java?rev=741650&r1=741649&r2=741650&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/Release.java Fri Feb 6 17:42:21 2009 @@ -77,7 +77,7 @@ *

* If the build identifier is empty, it is not added. */ - public static final String BUILD = "8"; + public static final String BUILD = "9"; /** * This is the generic version string you should use Modified: incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java URL: http://svn.apache.org/viewvc/incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java?rev=741650&r1=741649&r2=741650&view=diff ============================================================================== --- incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java (original) +++ incubator/jspwiki/branches/JSPWIKI_2_8_BRANCH/src/com/ecyrd/jspwiki/content/PageRenamer.java Fri Feb 6 17:42:21 2009 @@ -156,6 +156,11 @@ updateReferrers( context, fromPage, toPage, referrers ); } + // + // re-index the page + // + engine.getSearchManager().reindexPage(toPage); + // // Done, return the new name.