Description
After I delete pages, I've observed that they are still listed in PageList and are still returned as search matches.
Steps to reproduce
Set up a page that uses PageList macro
- Delete a page that was in the list
- Return to the first page and observe that the deleted page is now in the list (though greyed out)
Example
Component selection
- general
Details
MoinMoin Version |
1.9.2 |
OS and Version |
Debian lenny |
Python Version |
2.5.2 |
Server Setup |
Apache FastCGI |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Xapian is enabled on this machine, but the option to index all history is not enabled. I can see timestamps updating on the Xapian cache after deleting a page, though I don't know if that implies it actually did anything.
Using the delete cache icon on the page containing PageList does nothing. Neither does killing the moin process.
The wiki in question has xapian_index_history = True.
Running a xapian rebuild will fix clean up all the old PageList results, but pages deleted from that point on will have the same problem once again.
Workaround
Set xapian_index_history = False and rebuild the index. This causes the problem to disappear.
Discussion
Plan
- Priority:
- Assigned to:
- Status: