Description
The ../underlay/pages/MissingPage/cache/pagelinks file may contain incorrect information. It may contain the names of one or more orphan pages.
Steps to reproduce
Create several orphan pages with names like SurveyOne, SurveyTwo...
Delete the ../underlay/pages/MissingPage/cache directory OR replace the whole underlay directory as if you were upgrading to a new version of Moin (the distributed copy does not have a../MissingPage/cache directory).
Using FindPage, start to create a new page called SurveyTen. The new page does not have to be created, just get to the page showing the choice of templates.
Check the ../underlay/pages/MissingPage/cache/pagelinks file contents, it will include every orphan wiki page beginning with the name Survey.
Example
Component selection
- general
Details
MoinMoin Version |
1.5.8 or 1.5.6 |
OS and Version |
Fedora Core 6, Windows |
Python Version |
2.4, 2.5 |
Server Setup |
Apache |
Server Details |
mod_python |
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
Copy a 1 byte pagelinks file from another page, such as MissingHomePage/cache, to MissingPage/cache. The erroneous update will occur only if the the pagelinks file does not exist.
Discussion
Side effect of LikePages macro/action.
Plan
- Priority:
- Assigned to:
Status: fixed in 1.6 by http://hg.moinmo.in/moin/1.6/rev/5dfbc2b0e368, http://hg.moinmo.in/moin/1.7/rev/ed3e2b220dec