You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2009/02/01 18:57:59 UTC
[jira] Updated: (JSPWIKI-477) Renamed pages are no longer in the
Lucene index
[ https://issues.apache.org/jira/browse/JSPWIKI-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harry Metske updated JSPWIKI-477:
---------------------------------
Attachment: JSPWiki-477.patch
I don't think we can rely on the context in PageRenamer (context is one of the parameters for WikiEngine.saveText() )
I like to suggest the following patch, which is a simple re-index of the renameTo page. (and a similar patch for 2.8)
> Renamed pages are no longer in the Lucene index
> -----------------------------------------------
>
> Key: JSPWIKI-477
> URL: https://issues.apache.org/jira/browse/JSPWIKI-477
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.8.1
> Environment: Red Hat Linux, Windows Vista
> Reporter: Stefan Bohn
> Fix For: 2.8.2
>
> Attachments: JSPWiki-477.patch
>
>
> When renaming a page, the page is deleted of the search index and no new entry is made.
> That means, after renaming a page, the page could no longer be found by the search engine.
> And if the page is renamed back to the former name, it cannot be found.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.